Class PluginActionConfig.Builder (0.36.0)

public static final class PluginActionConfig.Builder extends GeneratedMessage.Builder<PluginActionConfig.Builder> implements PluginActionConfigOrBuilder

PluginActionConfig represents the configuration of an action supported by a plugin.

Protobuf type google.cloud.apihub.v1.PluginActionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PluginActionConfig build()
Returns
Type Description
PluginActionConfig

buildPartial()

public PluginActionConfig buildPartial()
Returns
Type Description
PluginActionConfig

clear()

public PluginActionConfig.Builder clear()
Returns
Type Description
PluginActionConfig.Builder
Overrides

clearDescription()

public PluginActionConfig.Builder clearDescription()

Required. The description of the operation performed by the action.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

clearDisplayName()

public PluginActionConfig.Builder clearDisplayName()

Required. The display name of the action.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

clearId()

public PluginActionConfig.Builder clearId()

Required. The id of the action.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

clearTriggerMode()

public PluginActionConfig.Builder clearTriggerMode()

Required. The trigger mode supported by the action.

.google.cloud.apihub.v1.PluginActionConfig.TriggerMode trigger_mode = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public PluginActionConfig getDefaultInstanceForType()
Returns
Type Description
PluginActionConfig

getDescription()

public String getDescription()

Required. The description of the operation performed by the action.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Required. The description of the operation performed by the action.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The display name of the action.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the action.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public String getId()

Required. The id of the action.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. The id of the action.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getTriggerMode()

public PluginActionConfig.TriggerMode getTriggerMode()

Required. The trigger mode supported by the action.

.google.cloud.apihub.v1.PluginActionConfig.TriggerMode trigger_mode = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginActionConfig.TriggerMode

The triggerMode.

getTriggerModeValue()

public int getTriggerModeValue()

Required. The trigger mode supported by the action.

.google.cloud.apihub.v1.PluginActionConfig.TriggerMode trigger_mode = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for triggerMode.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PluginActionConfig other)

public PluginActionConfig.Builder mergeFrom(PluginActionConfig other)
Parameter
Name Description
other PluginActionConfig
Returns
Type Description
PluginActionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PluginActionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PluginActionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PluginActionConfig.Builder
Overrides

setDescription(String value)

public PluginActionConfig.Builder setDescription(String value)

Required. The description of the operation performed by the action.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PluginActionConfig.Builder setDescriptionBytes(ByteString value)

Required. The description of the operation performed by the action.

string description = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setDisplayName(String value)

public PluginActionConfig.Builder setDisplayName(String value)

Required. The display name of the action.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PluginActionConfig.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the action.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setId(String value)

public PluginActionConfig.Builder setId(String value)

Required. The id of the action.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setIdBytes(ByteString value)

public PluginActionConfig.Builder setIdBytes(ByteString value)

Required. The id of the action.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setTriggerMode(PluginActionConfig.TriggerMode value)

public PluginActionConfig.Builder setTriggerMode(PluginActionConfig.TriggerMode value)

Required. The trigger mode supported by the action.

.google.cloud.apihub.v1.PluginActionConfig.TriggerMode trigger_mode = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PluginActionConfig.TriggerMode

The triggerMode to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.

setTriggerModeValue(int value)

public PluginActionConfig.Builder setTriggerModeValue(int value)

Required. The trigger mode supported by the action.

.google.cloud.apihub.v1.PluginActionConfig.TriggerMode trigger_mode = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for triggerMode to set.

Returns
Type Description
PluginActionConfig.Builder

This builder for chaining.