Class TargetArtifact.Builder

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

    public static final class TargetArtifact.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
    implements TargetArtifactOrBuilder
     The artifacts produced by a target render operation.
     
    Protobuf type google.cloud.deploy.v1.TargetArtifact
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetArtifact.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

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

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

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

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

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

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

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

        public TargetArtifact.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<TargetArtifact.Builder>
        Throws:
        IOException
      • hasArtifactUri

        public boolean hasArtifactUri()
         Output only. URI of a directory containing the artifacts. This contains
         deployment configuration used by Skaffold during a rollout, and all
         paths are relative to this location.
         
        string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasArtifactUri in interface TargetArtifactOrBuilder
        Returns:
        Whether the artifactUri field is set.
      • getArtifactUri

        public String getArtifactUri()
         Output only. URI of a directory containing the artifacts. This contains
         deployment configuration used by Skaffold during a rollout, and all
         paths are relative to this location.
         
        string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getArtifactUri in interface TargetArtifactOrBuilder
        Returns:
        The artifactUri.
      • getArtifactUriBytes

        public com.google.protobuf.ByteString getArtifactUriBytes()
         Output only. URI of a directory containing the artifacts. This contains
         deployment configuration used by Skaffold during a rollout, and all
         paths are relative to this location.
         
        string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getArtifactUriBytes in interface TargetArtifactOrBuilder
        Returns:
        The bytes for artifactUri.
      • setArtifactUri

        public TargetArtifact.Builder setArtifactUri​(String value)
         Output only. URI of a directory containing the artifacts. This contains
         deployment configuration used by Skaffold during a rollout, and all
         paths are relative to this location.
         
        string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The artifactUri to set.
        Returns:
        This builder for chaining.
      • clearArtifactUri

        public TargetArtifact.Builder clearArtifactUri()
         Output only. URI of a directory containing the artifacts. This contains
         deployment configuration used by Skaffold during a rollout, and all
         paths are relative to this location.
         
        string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setArtifactUriBytes

        public TargetArtifact.Builder setArtifactUriBytes​(com.google.protobuf.ByteString value)
         Output only. URI of a directory containing the artifacts. This contains
         deployment configuration used by Skaffold during a rollout, and all
         paths are relative to this location.
         
        string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for artifactUri to set.
        Returns:
        This builder for chaining.
      • getSkaffoldConfigPath

        public String getSkaffoldConfigPath()
         Output only. File path of the resolved Skaffold configuration relative to
         the URI.
         
        string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSkaffoldConfigPath in interface TargetArtifactOrBuilder
        Returns:
        The skaffoldConfigPath.
      • getSkaffoldConfigPathBytes

        public com.google.protobuf.ByteString getSkaffoldConfigPathBytes()
         Output only. File path of the resolved Skaffold configuration relative to
         the URI.
         
        string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSkaffoldConfigPathBytes in interface TargetArtifactOrBuilder
        Returns:
        The bytes for skaffoldConfigPath.
      • setSkaffoldConfigPath

        public TargetArtifact.Builder setSkaffoldConfigPath​(String value)
         Output only. File path of the resolved Skaffold configuration relative to
         the URI.
         
        string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The skaffoldConfigPath to set.
        Returns:
        This builder for chaining.
      • clearSkaffoldConfigPath

        public TargetArtifact.Builder clearSkaffoldConfigPath()
         Output only. File path of the resolved Skaffold configuration relative to
         the URI.
         
        string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSkaffoldConfigPathBytes

        public TargetArtifact.Builder setSkaffoldConfigPathBytes​(com.google.protobuf.ByteString value)
         Output only. File path of the resolved Skaffold configuration relative to
         the URI.
         
        string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for skaffoldConfigPath to set.
        Returns:
        This builder for chaining.
      • getManifestPath

        public String getManifestPath()
         Output only. File path of the rendered manifest relative to the URI.
         
        string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManifestPath in interface TargetArtifactOrBuilder
        Returns:
        The manifestPath.
      • getManifestPathBytes

        public com.google.protobuf.ByteString getManifestPathBytes()
         Output only. File path of the rendered manifest relative to the URI.
         
        string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManifestPathBytes in interface TargetArtifactOrBuilder
        Returns:
        The bytes for manifestPath.
      • setManifestPath

        public TargetArtifact.Builder setManifestPath​(String value)
         Output only. File path of the rendered manifest relative to the URI.
         
        string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The manifestPath to set.
        Returns:
        This builder for chaining.
      • clearManifestPath

        public TargetArtifact.Builder clearManifestPath()
         Output only. File path of the rendered manifest relative to the URI.
         
        string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setManifestPathBytes

        public TargetArtifact.Builder setManifestPathBytes​(com.google.protobuf.ByteString value)
         Output only. File path of the rendered manifest relative to the URI.
         
        string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for manifestPath to set.
        Returns:
        This builder for chaining.
      • getPhaseArtifactsCount

        public int getPhaseArtifactsCount()
        Description copied from interface: TargetArtifactOrBuilder
         Output only. Map from the phase ID to the phase artifacts for the `Target`.
         
        map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPhaseArtifactsCount in interface TargetArtifactOrBuilder
      • containsPhaseArtifacts

        public boolean containsPhaseArtifacts​(String key)
         Output only. Map from the phase ID to the phase artifacts for the `Target`.
         
        map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsPhaseArtifacts in interface TargetArtifactOrBuilder
      • removePhaseArtifacts

        public TargetArtifact.Builder removePhaseArtifacts​(String key)
         Output only. Map from the phase ID to the phase artifacts for the `Target`.
         
        map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • putPhaseArtifacts

        public TargetArtifact.Builder putPhaseArtifacts​(String key,
                                                        TargetArtifact.PhaseArtifact value)
         Output only. Map from the phase ID to the phase artifacts for the `Target`.
         
        map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • putAllPhaseArtifacts

        public TargetArtifact.Builder putAllPhaseArtifacts​(Map<String,​TargetArtifact.PhaseArtifact> values)
         Output only. Map from the phase ID to the phase artifacts for the `Target`.
         
        map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

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

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