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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AppPlatformMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AppPlatformMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AppPlatformMetadata.Builder>
    • getDefaultInstanceForType

      public AppPlatformMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AppPlatformMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AppPlatformMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AppPlatformMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppPlatformMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppPlatformMetadata.Builder>
      Throws:
      IOException
    • getApplication

      public String getApplication()
       The application resource name.
       
      string application = 1;
      Specified by:
      getApplication in interface AppPlatformMetadataOrBuilder
      Returns:
      The application.
    • getApplicationBytes

      public com.google.protobuf.ByteString getApplicationBytes()
       The application resource name.
       
      string application = 1;
      Specified by:
      getApplicationBytes in interface AppPlatformMetadataOrBuilder
      Returns:
      The bytes for application.
    • setApplication

      public AppPlatformMetadata.Builder setApplication(String value)
       The application resource name.
       
      string application = 1;
      Parameters:
      value - The application to set.
      Returns:
      This builder for chaining.
    • clearApplication

      public AppPlatformMetadata.Builder clearApplication()
       The application resource name.
       
      string application = 1;
      Returns:
      This builder for chaining.
    • setApplicationBytes

      public AppPlatformMetadata.Builder setApplicationBytes(com.google.protobuf.ByteString value)
       The application resource name.
       
      string application = 1;
      Parameters:
      value - The bytes for application to set.
      Returns:
      This builder for chaining.
    • getInstanceId

      public String getInstanceId()
       The instance resource id. Instance is the nested resource of application
       under collection 'instances'.
       
      string instance_id = 2;
      Specified by:
      getInstanceId in interface AppPlatformMetadataOrBuilder
      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:
      getInstanceIdBytes in interface AppPlatformMetadataOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public AppPlatformMetadata.Builder setInstanceId(String value)
       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

      public AppPlatformMetadata.Builder 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

      public AppPlatformMetadata.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       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

      public String getNode()
       The node name of the application graph.
       
      string node = 3;
      Specified by:
      getNode in interface AppPlatformMetadataOrBuilder
      Returns:
      The node.
    • getNodeBytes

      public com.google.protobuf.ByteString getNodeBytes()
       The node name of the application graph.
       
      string node = 3;
      Specified by:
      getNodeBytes in interface AppPlatformMetadataOrBuilder
      Returns:
      The bytes for node.
    • setNode

      public AppPlatformMetadata.Builder setNode(String value)
       The node name of the application graph.
       
      string node = 3;
      Parameters:
      value - The node to set.
      Returns:
      This builder for chaining.
    • clearNode

      public AppPlatformMetadata.Builder clearNode()
       The node name of the application graph.
       
      string node = 3;
      Returns:
      This builder for chaining.
    • setNodeBytes

      public AppPlatformMetadata.Builder setNodeBytes(com.google.protobuf.ByteString value)
       The node name of the application graph.
       
      string node = 3;
      Parameters:
      value - The bytes for node to set.
      Returns:
      This builder for chaining.
    • getProcessor

      public String getProcessor()
       The referred processor resource name of the application node.
       
      string processor = 4;
      Specified by:
      getProcessor in interface AppPlatformMetadataOrBuilder
      Returns:
      The processor.
    • getProcessorBytes

      public com.google.protobuf.ByteString getProcessorBytes()
       The referred processor resource name of the application node.
       
      string processor = 4;
      Specified by:
      getProcessorBytes in interface AppPlatformMetadataOrBuilder
      Returns:
      The bytes for processor.
    • setProcessor

      public AppPlatformMetadata.Builder setProcessor(String value)
       The referred processor resource name of the application node.
       
      string processor = 4;
      Parameters:
      value - The processor to set.
      Returns:
      This builder for chaining.
    • clearProcessor

      public AppPlatformMetadata.Builder clearProcessor()
       The referred processor resource name of the application node.
       
      string processor = 4;
      Returns:
      This builder for chaining.
    • setProcessorBytes

      public AppPlatformMetadata.Builder setProcessorBytes(com.google.protobuf.ByteString value)
       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.