Class CloudStorageDestinationOptions.Builder

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

public static final class CloudStorageDestinationOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<CloudStorageDestinationOptions.Builder> implements CloudStorageDestinationOptionsOrBuilder
 Options to store reports in storage systems.
 Next ID: 3
 
Protobuf type google.cloud.storageinsights.v1.CloudStorageDestinationOptions
  • 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<CloudStorageDestinationOptions.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<CloudStorageDestinationOptions.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<CloudStorageDestinationOptions.Builder>
    • getDefaultInstanceForType

      public CloudStorageDestinationOptions 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 CloudStorageDestinationOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public CloudStorageDestinationOptions.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<CloudStorageDestinationOptions.Builder>
      Throws:
      IOException
    • getBucket

      public String getBucket()
       Destination bucket.
       
      string bucket = 1;
      Specified by:
      getBucket in interface CloudStorageDestinationOptionsOrBuilder
      Returns:
      The bucket.
    • getBucketBytes

      public com.google.protobuf.ByteString getBucketBytes()
       Destination bucket.
       
      string bucket = 1;
      Specified by:
      getBucketBytes in interface CloudStorageDestinationOptionsOrBuilder
      Returns:
      The bytes for bucket.
    • setBucket

       Destination bucket.
       
      string bucket = 1;
      Parameters:
      value - The bucket to set.
      Returns:
      This builder for chaining.
    • clearBucket

       Destination bucket.
       
      string bucket = 1;
      Returns:
      This builder for chaining.
    • setBucketBytes

      public CloudStorageDestinationOptions.Builder setBucketBytes(com.google.protobuf.ByteString value)
       Destination bucket.
       
      string bucket = 1;
      Parameters:
      value - The bytes for bucket to set.
      Returns:
      This builder for chaining.
    • getDestinationPath

      public String getDestinationPath()
       Destination path is the path in the bucket where the report should be
       generated.
       
      string destination_path = 2;
      Specified by:
      getDestinationPath in interface CloudStorageDestinationOptionsOrBuilder
      Returns:
      The destinationPath.
    • getDestinationPathBytes

      public com.google.protobuf.ByteString getDestinationPathBytes()
       Destination path is the path in the bucket where the report should be
       generated.
       
      string destination_path = 2;
      Specified by:
      getDestinationPathBytes in interface CloudStorageDestinationOptionsOrBuilder
      Returns:
      The bytes for destinationPath.
    • setDestinationPath

      public CloudStorageDestinationOptions.Builder setDestinationPath(String value)
       Destination path is the path in the bucket where the report should be
       generated.
       
      string destination_path = 2;
      Parameters:
      value - The destinationPath to set.
      Returns:
      This builder for chaining.
    • clearDestinationPath

      public CloudStorageDestinationOptions.Builder clearDestinationPath()
       Destination path is the path in the bucket where the report should be
       generated.
       
      string destination_path = 2;
      Returns:
      This builder for chaining.
    • setDestinationPathBytes

      public CloudStorageDestinationOptions.Builder setDestinationPathBytes(com.google.protobuf.ByteString value)
       Destination path is the path in the bucket where the report should be
       generated.
       
      string destination_path = 2;
      Parameters:
      value - The bytes for destinationPath to set.
      Returns:
      This builder for chaining.