Class SkaffoldModules.Builder

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

public static final class SkaffoldModules.Builder extends com.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.Builder> implements SkaffoldModulesOrBuilder
 Skaffold Config modules and their remote source.
 
Protobuf type google.cloud.deploy.v1.SkaffoldModules
  • 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.Builder>
    • clear

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

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

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

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

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

      public SkaffoldModules.Builder mergeFrom(SkaffoldModules other)
    • isInitialized

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

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

      public SkaffoldModules.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface SkaffoldModulesOrBuilder
    • clearSource

      public SkaffoldModules.Builder clearSource()
    • getConfigsList

      public com.google.protobuf.ProtocolStringList getConfigsList()
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigsList in interface SkaffoldModulesOrBuilder
      Returns:
      A list containing the configs.
    • getConfigsCount

      public int getConfigsCount()
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigsCount in interface SkaffoldModulesOrBuilder
      Returns:
      The count of configs.
    • getConfigs

      public String getConfigs(int index)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigs in interface SkaffoldModulesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The configs at the given index.
    • getConfigsBytes

      public com.google.protobuf.ByteString getConfigsBytes(int index)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigsBytes in interface SkaffoldModulesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the configs at the given index.
    • setConfigs

      public SkaffoldModules.Builder setConfigs(int index, String value)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The configs to set.
      Returns:
      This builder for chaining.
    • addConfigs

      public SkaffoldModules.Builder addConfigs(String value)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The configs to add.
      Returns:
      This builder for chaining.
    • addAllConfigs

      public SkaffoldModules.Builder addAllConfigs(Iterable<String> values)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The configs to add.
      Returns:
      This builder for chaining.
    • clearConfigs

      public SkaffoldModules.Builder clearConfigs()
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addConfigsBytes

      public SkaffoldModules.Builder addConfigsBytes(com.google.protobuf.ByteString value)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the configs to add.
      Returns:
      This builder for chaining.
    • hasGit

      public boolean hasGit()
       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGit in interface SkaffoldModulesOrBuilder
      Returns:
      Whether the git field is set.
    • getGit

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGit in interface SkaffoldModulesOrBuilder
      Returns:
      The git.
    • setGit

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setGit

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGit

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearGit

      public SkaffoldModules.Builder clearGit()
       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGitBuilder

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGitOrBuilder

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGitOrBuilder in interface SkaffoldModulesOrBuilder
    • hasGoogleCloudStorage

      public boolean hasGoogleCloudStorage()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGoogleCloudStorage in interface SkaffoldModulesOrBuilder
      Returns:
      Whether the googleCloudStorage field is set.
    • getGoogleCloudStorage

      public SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudStorage in interface SkaffoldModulesOrBuilder
      Returns:
      The googleCloudStorage.
    • setGoogleCloudStorage

      public SkaffoldModules.Builder setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource value)
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setGoogleCloudStorage

      public SkaffoldModules.Builder setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource.Builder builderForValue)
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGoogleCloudStorage

      public SkaffoldModules.Builder mergeGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource value)
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearGoogleCloudStorage

      public SkaffoldModules.Builder clearGoogleCloudStorage()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getGoogleCloudStorageBuilder

      public SkaffoldModules.SkaffoldGCSSource.Builder getGoogleCloudStorageBuilder()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getGoogleCloudStorageOrBuilder

      public SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudStorageOrBuilder in interface SkaffoldModulesOrBuilder
    • hasGoogleCloudBuildRepo

      public boolean hasGoogleCloudBuildRepo()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGoogleCloudBuildRepo in interface SkaffoldModulesOrBuilder
      Returns:
      Whether the googleCloudBuildRepo field is set.
    • getGoogleCloudBuildRepo

      public SkaffoldModules.SkaffoldGCBRepoSource getGoogleCloudBuildRepo()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudBuildRepo in interface SkaffoldModulesOrBuilder
      Returns:
      The googleCloudBuildRepo.
    • setGoogleCloudBuildRepo

      public SkaffoldModules.Builder setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value)
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setGoogleCloudBuildRepo

      public SkaffoldModules.Builder setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource.Builder builderForValue)
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGoogleCloudBuildRepo

      public SkaffoldModules.Builder mergeGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value)
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearGoogleCloudBuildRepo

      public SkaffoldModules.Builder clearGoogleCloudBuildRepo()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGoogleCloudBuildRepoBuilder

      public SkaffoldModules.SkaffoldGCBRepoSource.Builder getGoogleCloudBuildRepoBuilder()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGoogleCloudBuildRepoOrBuilder

      public SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder getGoogleCloudBuildRepoOrBuilder()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudBuildRepoOrBuilder in interface SkaffoldModulesOrBuilder