Class GcrDestination.Builder

  • All Implemented Interfaces:
    GcrDestinationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    GcrDestination

    public static final class GcrDestination.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
    implements GcrDestinationOrBuilder
     The GCR location where the image must be pushed to.
     
    Protobuf type google.cloud.automl.v1beta1.GcrDestination
    • Method Detail

      • getDescriptor

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

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

        public GcrDestination.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.GeneratedMessageV3.Builder<GcrDestination.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.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • getDefaultInstanceForType

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

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

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

        public GcrDestination.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • setField

        public GcrDestination.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • clearField

        public GcrDestination.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • clearOneof

        public GcrDestination.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • setRepeatedField

        public GcrDestination.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • addRepeatedField

        public GcrDestination.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • mergeFrom

        public GcrDestination.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<GcrDestination.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • mergeFrom

        public GcrDestination.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<GcrDestination.Builder>
        Throws:
        IOException
      • getOutputUri

        public String getOutputUri()
         Required. Google Contained Registry URI of the new image, up to 2000
         characters long. See
        
         https:
         //cloud.google.com/container-registry/do
         // cs/pushing-and-pulling#pushing_an_image_to_a_registry
         Accepted forms:
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
        
         The requesting user must have permission to push images the project.
         
        string output_uri = 1;
        Specified by:
        getOutputUri in interface GcrDestinationOrBuilder
        Returns:
        The outputUri.
      • getOutputUriBytes

        public com.google.protobuf.ByteString getOutputUriBytes()
         Required. Google Contained Registry URI of the new image, up to 2000
         characters long. See
        
         https:
         //cloud.google.com/container-registry/do
         // cs/pushing-and-pulling#pushing_an_image_to_a_registry
         Accepted forms:
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
        
         The requesting user must have permission to push images the project.
         
        string output_uri = 1;
        Specified by:
        getOutputUriBytes in interface GcrDestinationOrBuilder
        Returns:
        The bytes for outputUri.
      • setOutputUri

        public GcrDestination.Builder setOutputUri​(String value)
         Required. Google Contained Registry URI of the new image, up to 2000
         characters long. See
        
         https:
         //cloud.google.com/container-registry/do
         // cs/pushing-and-pulling#pushing_an_image_to_a_registry
         Accepted forms:
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
        
         The requesting user must have permission to push images the project.
         
        string output_uri = 1;
        Parameters:
        value - The outputUri to set.
        Returns:
        This builder for chaining.
      • clearOutputUri

        public GcrDestination.Builder clearOutputUri()
         Required. Google Contained Registry URI of the new image, up to 2000
         characters long. See
        
         https:
         //cloud.google.com/container-registry/do
         // cs/pushing-and-pulling#pushing_an_image_to_a_registry
         Accepted forms:
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
        
         The requesting user must have permission to push images the project.
         
        string output_uri = 1;
        Returns:
        This builder for chaining.
      • setOutputUriBytes

        public GcrDestination.Builder setOutputUriBytes​(com.google.protobuf.ByteString value)
         Required. Google Contained Registry URI of the new image, up to 2000
         characters long. See
        
         https:
         //cloud.google.com/container-registry/do
         // cs/pushing-and-pulling#pushing_an_image_to_a_registry
         Accepted forms:
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]
         * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
        
         The requesting user must have permission to push images the project.
         
        string output_uri = 1;
        Parameters:
        value - The bytes for outputUri to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GcrDestination.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>
      • mergeUnknownFields

        public final GcrDestination.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GcrDestination.Builder>