Class ContainerRegistryDestination.Builder

    • 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<ContainerRegistryDestination.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<ContainerRegistryDestination.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public String getOutputUri()
         Required. Container Registry URI of a container image.
         Only Google Container Registry and Artifact Registry are supported now.
         Accepted forms:
        
         *  Google Container Registry path. For example:
            `gcr.io/projectId/imageName:tag`.
        
         *  Artifact Registry path. For example:
            `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
        
         If a tag is not specified, "latest" will be used as the default tag.
         
        string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOutputUri in interface ContainerRegistryDestinationOrBuilder
        Returns:
        The outputUri.
      • getOutputUriBytes

        public com.google.protobuf.ByteString getOutputUriBytes()
         Required. Container Registry URI of a container image.
         Only Google Container Registry and Artifact Registry are supported now.
         Accepted forms:
        
         *  Google Container Registry path. For example:
            `gcr.io/projectId/imageName:tag`.
        
         *  Artifact Registry path. For example:
            `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
        
         If a tag is not specified, "latest" will be used as the default tag.
         
        string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOutputUriBytes in interface ContainerRegistryDestinationOrBuilder
        Returns:
        The bytes for outputUri.
      • setOutputUri

        public ContainerRegistryDestination.Builder setOutputUri​(String value)
         Required. Container Registry URI of a container image.
         Only Google Container Registry and Artifact Registry are supported now.
         Accepted forms:
        
         *  Google Container Registry path. For example:
            `gcr.io/projectId/imageName:tag`.
        
         *  Artifact Registry path. For example:
            `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
        
         If a tag is not specified, "latest" will be used as the default tag.
         
        string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The outputUri to set.
        Returns:
        This builder for chaining.
      • clearOutputUri

        public ContainerRegistryDestination.Builder clearOutputUri()
         Required. Container Registry URI of a container image.
         Only Google Container Registry and Artifact Registry are supported now.
         Accepted forms:
        
         *  Google Container Registry path. For example:
            `gcr.io/projectId/imageName:tag`.
        
         *  Artifact Registry path. For example:
            `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
        
         If a tag is not specified, "latest" will be used as the default tag.
         
        string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setOutputUriBytes

        public ContainerRegistryDestination.Builder setOutputUriBytes​(com.google.protobuf.ByteString value)
         Required. Container Registry URI of a container image.
         Only Google Container Registry and Artifact Registry are supported now.
         Accepted forms:
        
         *  Google Container Registry path. For example:
            `gcr.io/projectId/imageName:tag`.
        
         *  Artifact Registry path. For example:
            `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
        
         If a tag is not specified, "latest" will be used as the default tag.
         
        string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for outputUri to set.
        Returns:
        This builder for chaining.