Class DeployArtifact.Builder

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

    public static final class DeployArtifact.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DeployArtifact.Builder>
    implements DeployArtifactOrBuilder
     The artifacts produced by a deploy operation.
     
    Protobuf type google.cloud.deploy.v1.DeployArtifact
    • 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<DeployArtifact.Builder>
      • clear

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

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

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

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

        public DeployArtifact.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<DeployArtifact.Builder>
      • setField

        public DeployArtifact.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<DeployArtifact.Builder>
      • clearField

        public DeployArtifact.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<DeployArtifact.Builder>
      • clearOneof

        public DeployArtifact.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<DeployArtifact.Builder>
      • setRepeatedField

        public DeployArtifact.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<DeployArtifact.Builder>
      • addRepeatedField

        public DeployArtifact.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<DeployArtifact.Builder>
      • mergeFrom

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

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

        public DeployArtifact.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<DeployArtifact.Builder>
        Throws:
        IOException
      • getArtifactUri

        public String getArtifactUri()
         Output only. URI of a directory containing the artifacts. All paths are
         relative to this location.
         
        string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getArtifactUri in interface DeployArtifactOrBuilder
        Returns:
        The artifactUri.
      • getArtifactUriBytes

        public com.google.protobuf.ByteString getArtifactUriBytes()
         Output only. URI of a directory containing the artifacts. All paths are
         relative to this location.
         
        string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getArtifactUriBytes in interface DeployArtifactOrBuilder
        Returns:
        The bytes for artifactUri.
      • setArtifactUri

        public DeployArtifact.Builder setArtifactUri​(String value)
         Output only. URI of a directory containing the artifacts. All paths are
         relative to this location.
         
        string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The artifactUri to set.
        Returns:
        This builder for chaining.
      • clearArtifactUri

        public DeployArtifact.Builder clearArtifactUri()
         Output only. URI of a directory containing the artifacts. All paths are
         relative to this location.
         
        string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setArtifactUriBytes

        public DeployArtifact.Builder setArtifactUriBytes​(com.google.protobuf.ByteString value)
         Output only. URI of a directory containing the artifacts. All paths are
         relative to this location.
         
        string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for artifactUri to set.
        Returns:
        This builder for chaining.
      • getManifestPathsList

        public com.google.protobuf.ProtocolStringList getManifestPathsList()
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManifestPathsList in interface DeployArtifactOrBuilder
        Returns:
        A list containing the manifestPaths.
      • getManifestPathsCount

        public int getManifestPathsCount()
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManifestPathsCount in interface DeployArtifactOrBuilder
        Returns:
        The count of manifestPaths.
      • getManifestPaths

        public String getManifestPaths​(int index)
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManifestPaths in interface DeployArtifactOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The manifestPaths at the given index.
      • getManifestPathsBytes

        public com.google.protobuf.ByteString getManifestPathsBytes​(int index)
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManifestPathsBytes in interface DeployArtifactOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the manifestPaths at the given index.
      • setManifestPaths

        public DeployArtifact.Builder setManifestPaths​(int index,
                                                       String value)
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The manifestPaths to set.
        Returns:
        This builder for chaining.
      • addManifestPaths

        public DeployArtifact.Builder addManifestPaths​(String value)
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The manifestPaths to add.
        Returns:
        This builder for chaining.
      • addAllManifestPaths

        public DeployArtifact.Builder addAllManifestPaths​(Iterable<String> values)
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The manifestPaths to add.
        Returns:
        This builder for chaining.
      • clearManifestPaths

        public DeployArtifact.Builder clearManifestPaths()
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addManifestPathsBytes

        public DeployArtifact.Builder addManifestPathsBytes​(com.google.protobuf.ByteString value)
         Output only. File paths of the manifests applied during the deploy
         operation relative to the URI.
         
        repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the manifestPaths to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DeployArtifact.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<DeployArtifact.Builder>
      • mergeUnknownFields

        public final DeployArtifact.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<DeployArtifact.Builder>