Package com.google.cloud.visionai.v1
Class AppPlatformMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AppPlatformMetadata.Builder>
com.google.cloud.visionai.v1.AppPlatformMetadata.Builder
- All Implemented Interfaces:
AppPlatformMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AppPlatformMetadata
public static final class AppPlatformMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AppPlatformMetadata.Builder>
implements AppPlatformMetadataOrBuilder
Message of essential metadata of App Platform. This message is usually attached to a certain processor output annotation for customer to identify the source of the data.Protobuf type
google.cloud.visionai.v1.AppPlatformMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The application resource name.The instance resource id.The node name of the application graph.The referred processor resource name of the application node.The application resource name.com.google.protobuf.ByteStringThe application resource name.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe instance resource id.com.google.protobuf.ByteStringThe instance resource id.getNode()The node name of the application graph.com.google.protobuf.ByteStringThe node name of the application graph.The referred processor resource name of the application node.com.google.protobuf.ByteStringThe referred processor resource name of the application node.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AppPlatformMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setApplication(String value) The application resource name.setApplicationBytes(com.google.protobuf.ByteString value) The application resource name.setInstanceId(String value) The instance resource id.setInstanceIdBytes(com.google.protobuf.ByteString value) The instance resource id.The node name of the application graph.setNodeBytes(com.google.protobuf.ByteString value) The node name of the application graph.setProcessor(String value) The referred processor resource name of the application node.setProcessorBytes(com.google.protobuf.ByteString value) The referred processor resource name of the application node.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<AppPlatformMetadata.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<AppPlatformMetadata.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<AppPlatformMetadata.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<AppPlatformMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AppPlatformMetadata.Builder>
-
mergeFrom
public AppPlatformMetadata.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<AppPlatformMetadata.Builder>- Throws:
IOException
-
getApplication
The application resource name.
string application = 1;- Specified by:
getApplicationin interfaceAppPlatformMetadataOrBuilder- Returns:
- The application.
-
getApplicationBytes
public com.google.protobuf.ByteString getApplicationBytes()The application resource name.
string application = 1;- Specified by:
getApplicationBytesin interfaceAppPlatformMetadataOrBuilder- Returns:
- The bytes for application.
-
setApplication
The application resource name.
string application = 1;- Parameters:
value- The application to set.- Returns:
- This builder for chaining.
-
clearApplication
The application resource name.
string application = 1;- Returns:
- This builder for chaining.
-
setApplicationBytes
The application resource name.
string application = 1;- Parameters:
value- The bytes for application to set.- Returns:
- This builder for chaining.
-
getInstanceId
The instance resource id. Instance is the nested resource of application under collection 'instances'.
string instance_id = 2;- Specified by:
getInstanceIdin interfaceAppPlatformMetadataOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The instance resource id. Instance is the nested resource of application under collection 'instances'.
string instance_id = 2;- Specified by:
getInstanceIdBytesin interfaceAppPlatformMetadataOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The instance resource id. Instance is the nested resource of application under collection 'instances'.
string instance_id = 2;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The instance resource id. Instance is the nested resource of application under collection 'instances'.
string instance_id = 2;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The instance resource id. Instance is the nested resource of application under collection 'instances'.
string instance_id = 2;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getNode
The node name of the application graph.
string node = 3;- Specified by:
getNodein interfaceAppPlatformMetadataOrBuilder- Returns:
- The node.
-
getNodeBytes
public com.google.protobuf.ByteString getNodeBytes()The node name of the application graph.
string node = 3;- Specified by:
getNodeBytesin interfaceAppPlatformMetadataOrBuilder- Returns:
- The bytes for node.
-
setNode
The node name of the application graph.
string node = 3;- Parameters:
value- The node to set.- Returns:
- This builder for chaining.
-
clearNode
The node name of the application graph.
string node = 3;- Returns:
- This builder for chaining.
-
setNodeBytes
The node name of the application graph.
string node = 3;- Parameters:
value- The bytes for node to set.- Returns:
- This builder for chaining.
-
getProcessor
The referred processor resource name of the application node.
string processor = 4;- Specified by:
getProcessorin interfaceAppPlatformMetadataOrBuilder- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()The referred processor resource name of the application node.
string processor = 4;- Specified by:
getProcessorBytesin interfaceAppPlatformMetadataOrBuilder- Returns:
- The bytes for processor.
-
setProcessor
The referred processor resource name of the application node.
string processor = 4;- Parameters:
value- The processor to set.- Returns:
- This builder for chaining.
-
clearProcessor
The referred processor resource name of the application node.
string processor = 4;- Returns:
- This builder for chaining.
-
setProcessorBytes
The referred processor resource name of the application node.
string processor = 4;- Parameters:
value- The bytes for processor to set.- Returns:
- This builder for chaining.
-