Package com.google.cloud.apihub.v1
Class SourceMetadata.PluginInstanceActionSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SourceMetadata.PluginInstanceActionSource.Builder>
com.google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource.Builder
- All Implemented Interfaces:
SourceMetadata.PluginInstanceActionSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SourceMetadata.PluginInstanceActionSource
public static final class SourceMetadata.PluginInstanceActionSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SourceMetadata.PluginInstanceActionSource.Builder>
implements SourceMetadata.PluginInstanceActionSourceOrBuilder
PluginInstanceActionSource represents the plugin instance action source.Protobuf type
google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource-
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<SourceMetadata.PluginInstanceActionSource.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<SourceMetadata.PluginInstanceActionSource.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<SourceMetadata.PluginInstanceActionSource.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
public SourceMetadata.PluginInstanceActionSource.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceMetadata.PluginInstanceActionSource.Builder>
-
mergeFrom
public SourceMetadata.PluginInstanceActionSource.Builder mergeFrom(SourceMetadata.PluginInstanceActionSource other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SourceMetadata.PluginInstanceActionSource.Builder>
-
mergeFrom
public SourceMetadata.PluginInstanceActionSource.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<SourceMetadata.PluginInstanceActionSource.Builder>- Throws:
IOException
-
getPluginInstance
Output only. The resource name of the source plugin instance. 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 interfaceSourceMetadata.PluginInstanceActionSourceOrBuilder- Returns:
- The pluginInstance.
-
getPluginInstanceBytes
public com.google.protobuf.ByteString getPluginInstanceBytes()Output only. The resource name of the source plugin instance. 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 interfaceSourceMetadata.PluginInstanceActionSourceOrBuilder- Returns:
- The bytes for pluginInstance.
-
setPluginInstance
Output only. The resource name of the source plugin instance. 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. The resource name of the source plugin instance. 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 SourceMetadata.PluginInstanceActionSource.Builder setPluginInstanceBytes(com.google.protobuf.ByteString value) Output only. The resource name of the source plugin instance. 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 id of the plugin instance action.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionIdin interfaceSourceMetadata.PluginInstanceActionSourceOrBuilder- Returns:
- The actionId.
-
getActionIdBytes
public com.google.protobuf.ByteString getActionIdBytes()Output only. The id of the plugin instance action.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionIdBytesin interfaceSourceMetadata.PluginInstanceActionSourceOrBuilder- Returns:
- The bytes for actionId.
-
setActionId
Output only. The id of the plugin instance action.
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 id of the plugin instance action.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setActionIdBytes
public SourceMetadata.PluginInstanceActionSource.Builder setActionIdBytes(com.google.protobuf.ByteString value) Output only. The id of the plugin instance action.
string action_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for actionId to set.- Returns:
- This builder for chaining.
-