Class IamPolicyAnalysisOutputConfig.GcsDestination.Builder

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

public static final class IamPolicyAnalysisOutputConfig.GcsDestination.Builder extends com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisOutputConfig.GcsDestination.Builder> implements IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder
 A Cloud Storage location.
 
Protobuf type google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination
  • 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<IamPolicyAnalysisOutputConfig.GcsDestination.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<IamPolicyAnalysisOutputConfig.GcsDestination.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<IamPolicyAnalysisOutputConfig.GcsDestination.Builder>
    • getDefaultInstanceForType

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

      public IamPolicyAnalysisOutputConfig.GcsDestination.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<IamPolicyAnalysisOutputConfig.GcsDestination.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       Required. The URI of the Cloud Storage object. It's the same URI that is
       used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
       Editing Object
       Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
       for more information.
      
       If the specified Cloud Storage object already exists and there is no
       [hold](https://cloud.google.com/storage/docs/object-holds), it will be
       overwritten with the analysis result.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUri in interface IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The URI of the Cloud Storage object. It's the same URI that is
       used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
       Editing Object
       Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
       for more information.
      
       If the specified Cloud Storage object already exists and there is no
       [hold](https://cloud.google.com/storage/docs/object-holds), it will be
       overwritten with the analysis result.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUriBytes in interface IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder
      Returns:
      The bytes for uri.
    • setUri

       Required. The URI of the Cloud Storage object. It's the same URI that is
       used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
       Editing Object
       Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
       for more information.
      
       If the specified Cloud Storage object already exists and there is no
       [hold](https://cloud.google.com/storage/docs/object-holds), it will be
       overwritten with the analysis result.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

       Required. The URI of the Cloud Storage object. It's the same URI that is
       used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
       Editing Object
       Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
       for more information.
      
       If the specified Cloud Storage object already exists and there is no
       [hold](https://cloud.google.com/storage/docs/object-holds), it will be
       overwritten with the analysis result.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setUriBytes

      public IamPolicyAnalysisOutputConfig.GcsDestination.Builder setUriBytes(com.google.protobuf.ByteString value)
       Required. The URI of the Cloud Storage object. It's the same URI that is
       used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
       Editing Object
       Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
       for more information.
      
       If the specified Cloud Storage object already exists and there is no
       [hold](https://cloud.google.com/storage/docs/object-holds), it will be
       overwritten with the analysis result.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.