Class DeployArtifact.Builder

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

    • getDescriptor

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

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

      public DeployArtifact.Builder mergeFrom(DeployArtifact other)
    • isInitialized

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