Class SkaffoldModules.SkaffoldGCBRepoSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.SkaffoldGCBRepoSource.Builder>
com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource.Builder
All Implemented Interfaces:
SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SkaffoldModules.SkaffoldGCBRepoSource

public static final class SkaffoldModules.SkaffoldGCBRepoSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.SkaffoldGCBRepoSource.Builder> implements SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
 Cloud Build V2 Repository containing Skaffold Configs.
 
Protobuf type google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource
  • 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<SkaffoldModules.SkaffoldGCBRepoSource.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<SkaffoldModules.SkaffoldGCBRepoSource.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<SkaffoldModules.SkaffoldGCBRepoSource.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public SkaffoldModules.SkaffoldGCBRepoSource.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<SkaffoldModules.SkaffoldGCBRepoSource.Builder>
      Throws:
      IOException
    • getRepository

      public String getRepository()
       Required. Name of the Cloud Build V2 Repository.
       Format is
       projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getRepository in interface SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
      Returns:
      The repository.
    • getRepositoryBytes

      public com.google.protobuf.ByteString getRepositoryBytes()
       Required. Name of the Cloud Build V2 Repository.
       Format is
       projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getRepositoryBytes in interface SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
      Returns:
      The bytes for repository.
    • setRepository

       Required. Name of the Cloud Build V2 Repository.
       Format is
       projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The repository to set.
      Returns:
      This builder for chaining.
    • clearRepository

       Required. Name of the Cloud Build V2 Repository.
       Format is
       projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRepositoryBytes

      public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRepositoryBytes(com.google.protobuf.ByteString value)
       Required. Name of the Cloud Build V2 Repository.
       Format is
       projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for repository to set.
      Returns:
      This builder for chaining.
    • getPath

      public String getPath()
       Optional. Relative path from the repository root to the Skaffold Config
       file.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPath in interface SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Optional. Relative path from the repository root to the Skaffold Config
       file.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathBytes in interface SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
      Returns:
      The bytes for path.
    • setPath

       Optional. Relative path from the repository root to the Skaffold Config
       file.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

       Optional. Relative path from the repository root to the Skaffold Config
       file.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPathBytes

      public SkaffoldModules.SkaffoldGCBRepoSource.Builder setPathBytes(com.google.protobuf.ByteString value)
       Optional. Relative path from the repository root to the Skaffold Config
       file.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getRef

      public String getRef()
       Optional. Branch or tag to use when cloning the repository.
       
      string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRef in interface SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
      Returns:
      The ref.
    • getRefBytes

      public com.google.protobuf.ByteString getRefBytes()
       Optional. Branch or tag to use when cloning the repository.
       
      string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRefBytes in interface SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder
      Returns:
      The bytes for ref.
    • setRef

       Optional. Branch or tag to use when cloning the repository.
       
      string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ref to set.
      Returns:
      This builder for chaining.
    • clearRef

       Optional. Branch or tag to use when cloning the repository.
       
      string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRefBytes

      public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRefBytes(com.google.protobuf.ByteString value)
       Optional. Branch or tag to use when cloning the repository.
       
      string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for ref to set.
      Returns:
      This builder for chaining.