public static final class PluginActionConfig.Builder extends GeneratedMessageV3.Builder<PluginActionConfig.Builder> implements PluginActionConfigOrBuilderPluginActionConfig represents the configuration of an action supported by a plugin.
Protobuf type google.cloud.apihub.v1.PluginActionConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PluginActionConfig.BuilderImplements
PluginActionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PluginActionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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 |
|
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. |
clearField(Descriptors.FieldDescriptor field)
public PluginActionConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PluginActionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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. |
clone()
public PluginActionConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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 |
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PluginActionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PluginActionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PluginActionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PluginActionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|
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.TriggerModeThe 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 |
intThe enum numeric value on the wire for triggerMode to set. |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PluginActionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PluginActionConfig.Builder |
|