Class PluginActionConfig (0.28.0)

public final class PluginActionConfig extends GeneratedMessageV3 implements PluginActionConfigOrBuilder

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

Protobuf type google.cloud.apihub.v1.PluginActionConfig

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

TRIGGER_MODE_FIELD_NUMBER

public static final int TRIGGER_MODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PluginActionConfig getDefaultInstance()
Returns
Type Description
PluginActionConfig

getDescriptor()

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

newBuilder()

public static PluginActionConfig.Builder newBuilder()
Returns
Type Description
PluginActionConfig.Builder

newBuilder(PluginActionConfig prototype)

public static PluginActionConfig.Builder newBuilder(PluginActionConfig prototype)
Parameter
Name Description
prototype PluginActionConfig
Returns
Type Description
PluginActionConfig.Builder

parseDelimitedFrom(InputStream input)

public static PluginActionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PluginActionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PluginActionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PluginActionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PluginActionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PluginActionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PluginActionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PluginActionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PluginActionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PluginActionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PluginActionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PluginActionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluginActionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PluginActionConfig> parser()
Returns
Type Description
Parser<PluginActionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

getParserForType()

public Parser<PluginActionConfig> getParserForType()
Returns
Type Description
Parser<PluginActionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PluginActionConfig.Builder newBuilderForType()
Returns
Type Description
PluginActionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PluginActionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PluginActionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PluginActionConfig.Builder toBuilder()
Returns
Type Description
PluginActionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException