Class TargetArtifact.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
com.google.cloud.deploy.v1.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.GeneratedMessage.Builder<TargetArtifact.Builder> implements TargetArtifactOrBuilder
 The artifacts produced by a target render operation.
 
Protobuf type google.cloud.deploy.v1.TargetArtifact
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<TargetArtifact.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public TargetArtifact.Builder mergeFrom(TargetArtifact other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getUriCase

      public TargetArtifact.UriCase getUriCase()
      Specified by:
      getUriCase in interface TargetArtifactOrBuilder
    • clearUri

      public TargetArtifact.Builder clearUri()
    • 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 for the
       stable phase, 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 for the
       stable phase, 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 for the
       stable phase, 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 for the
       stable phase, 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 for the
       stable phase, 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 for the
       stable phase.
       
      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 for the
       stable phase.
       
      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 for the
       stable phase.
       
      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 for the
       stable phase.
       
      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 for the
       stable phase.
       
      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
    • getPhaseArtifacts

      @Deprecated public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
      Deprecated.
      Specified by:
      getPhaseArtifacts in interface TargetArtifactOrBuilder
    • getPhaseArtifactsMap

      public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifactsMap()
       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:
      getPhaseArtifactsMap in interface TargetArtifactOrBuilder
    • getPhaseArtifactsOrDefault

      public TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue)
       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:
      getPhaseArtifactsOrDefault in interface TargetArtifactOrBuilder
    • getPhaseArtifactsOrThrow

      public TargetArtifact.PhaseArtifact getPhaseArtifactsOrThrow(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:
      getPhaseArtifactsOrThrow in interface TargetArtifactOrBuilder
    • clearPhaseArtifacts

      public TargetArtifact.Builder clearPhaseArtifacts()
    • 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];
    • getMutablePhaseArtifacts

      @Deprecated public Map<String,TargetArtifact.PhaseArtifact> getMutablePhaseArtifacts()
      Deprecated.
      Use alternate mutation accessors instead.
    • 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];
    • putPhaseArtifactsBuilderIfAbsent

      public TargetArtifact.PhaseArtifact.Builder putPhaseArtifactsBuilderIfAbsent(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];