Class SkaffoldModules.SkaffoldGCSSource.Builder

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

public static final class SkaffoldModules.SkaffoldGCSSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.SkaffoldGCSSource.Builder> implements SkaffoldModules.SkaffoldGCSSourceOrBuilder
 Cloud Storage bucket containing Skaffold Config modules.
 
Protobuf type google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource
  • 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.SkaffoldGCSSource.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.SkaffoldGCSSource.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.SkaffoldGCSSource.Builder>
    • getDefaultInstanceForType

      public SkaffoldModules.SkaffoldGCSSource 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

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

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

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

      public String getSource()
       Required. Cloud Storage source paths to copy recursively. For example,
       providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
       all files within the "dir/configs" directory in the bucket "my-bucket".
       
      string source = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSource in interface SkaffoldModules.SkaffoldGCSSourceOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Required. Cloud Storage source paths to copy recursively. For example,
       providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
       all files within the "dir/configs" directory in the bucket "my-bucket".
       
      string source = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceBytes in interface SkaffoldModules.SkaffoldGCSSourceOrBuilder
      Returns:
      The bytes for source.
    • setSource

       Required. Cloud Storage source paths to copy recursively. For example,
       providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
       all files within the "dir/configs" directory in the bucket "my-bucket".
       
      string source = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

       Required. Cloud Storage source paths to copy recursively. For example,
       providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
       all files within the "dir/configs" directory in the bucket "my-bucket".
       
      string source = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSourceBytes

      public SkaffoldModules.SkaffoldGCSSource.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Required. Cloud Storage source paths to copy recursively. For example,
       providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
       all files within the "dir/configs" directory in the bucket "my-bucket".
       
      string source = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getPath

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

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

       Optional. Relative path from the source to the Skaffold 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 source to the Skaffold file.
       
      string path = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPathBytes

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