Package com.google.cloud.apihub.v1
Class Curation.PluginInstanceActionID.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Curation.PluginInstanceActionID.Builder>
com.google.cloud.apihub.v1.Curation.PluginInstanceActionID.Builder
- All Implemented Interfaces:
Curation.PluginInstanceActionIDOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Curation.PluginInstanceActionID
public static final class Curation.PluginInstanceActionID.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Curation.PluginInstanceActionID.Builder>
implements Curation.PluginInstanceActionIDOrBuilder
The plugin instance and associated action that is using the curation.Protobuf type
google.cloud.apihub.v1.Curation.PluginInstanceActionID-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionId(String value) Output only.setActionIdBytes(com.google.protobuf.ByteString value) Output only.setPluginInstance(String value) Output only.setPluginInstanceBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Curation.PluginInstanceActionID.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Curation.PluginInstanceActionID.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Curation.PluginInstanceActionID.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Curation.PluginInstanceActionID.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Curation.PluginInstanceActionID.Builder>
-
mergeFrom
public Curation.PluginInstanceActionID.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Curation.PluginInstanceActionID.Builder>- Throws:
IOException
-
getPluginInstance
Output only. Plugin instance that is using the curation. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`string plugin_instance = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getPluginInstancein interfaceCuration.PluginInstanceActionIDOrBuilder- Returns:
- The pluginInstance.
-
getPluginInstanceBytes
public com.google.protobuf.ByteString getPluginInstanceBytes()Output only. Plugin instance that is using the curation. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`string plugin_instance = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getPluginInstanceBytesin interfaceCuration.PluginInstanceActionIDOrBuilder- Returns:
- The bytes for pluginInstance.
-
setPluginInstance
Output only. Plugin instance that is using the curation. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`string plugin_instance = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The pluginInstance to set.- Returns:
- This builder for chaining.
-
clearPluginInstance
Output only. Plugin instance that is using the curation. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`string plugin_instance = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setPluginInstanceBytes
public Curation.PluginInstanceActionID.Builder setPluginInstanceBytes(com.google.protobuf.ByteString value) Output only. Plugin instance that is using the curation. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`string plugin_instance = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for pluginInstance to set.- Returns:
- This builder for chaining.
-
getActionId
Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionIdin interfaceCuration.PluginInstanceActionIDOrBuilder- Returns:
- The actionId.
-
getActionIdBytes
public com.google.protobuf.ByteString getActionIdBytes()Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionIdBytesin interfaceCuration.PluginInstanceActionIDOrBuilder- Returns:
- The bytes for actionId.
-
setActionId
Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The actionId to set.- Returns:
- This builder for chaining.
-
clearActionId
Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setActionIdBytes
public Curation.PluginInstanceActionID.Builder setActionIdBytes(com.google.protobuf.ByteString value) Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for actionId to set.- Returns:
- This builder for chaining.
-