Interface StorageSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StorageSource, StorageSource.Builder

@Generated public interface StorageSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
    com.google.protobuf.ByteString
    Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
    long
    Google Cloud Storage generation for the object.
    Google Cloud Storage object containing the source.
    com.google.protobuf.ByteString
    Google Cloud Storage object containing the source.
    When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.
    com.google.protobuf.ByteString
    When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getBucket

      String getBucket()
       Google Cloud Storage bucket containing the source (see
       [Bucket Name
       Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
       
      string bucket = 1;
      Returns:
      The bucket.
    • getBucketBytes

      com.google.protobuf.ByteString getBucketBytes()
       Google Cloud Storage bucket containing the source (see
       [Bucket Name
       Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
       
      string bucket = 1;
      Returns:
      The bytes for bucket.
    • getObject

      String getObject()
       Google Cloud Storage object containing the source.
      
       This object must be a gzipped archive file (`.tar.gz`) containing source to
       build.
       
      string object = 2;
      Returns:
      The object.
    • getObjectBytes

      com.google.protobuf.ByteString getObjectBytes()
       Google Cloud Storage object containing the source.
      
       This object must be a gzipped archive file (`.tar.gz`) containing source to
       build.
       
      string object = 2;
      Returns:
      The bytes for object.
    • getGeneration

      long getGeneration()
       Google Cloud Storage generation for the object. If the generation is
       omitted, the latest generation will be used.
       
      int64 generation = 3;
      Returns:
      The generation.
    • getSourceUploadUrl

      String getSourceUploadUrl()
       When the specified storage bucket is a 1st gen function uploard url bucket,
       this field should be set as the generated upload url for 1st gen
       deployment.
       
      string source_upload_url = 4;
      Returns:
      The sourceUploadUrl.
    • getSourceUploadUrlBytes

      com.google.protobuf.ByteString getSourceUploadUrlBytes()
       When the specified storage bucket is a 1st gen function uploard url bucket,
       this field should be set as the generated upload url for 1st gen
       deployment.
       
      string source_upload_url = 4;
      Returns:
      The bytes for sourceUploadUrl.