Class IamPolicyAnalysisOutputConfig.GcsDestination.Builder (3.45.0)

public static final class IamPolicyAnalysisOutputConfig.GcsDestination.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisOutputConfig.GcsDestination.Builder> implements IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder

A Cloud Storage location.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

build()

public IamPolicyAnalysisOutputConfig.GcsDestination build()
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination

buildPartial()

public IamPolicyAnalysisOutputConfig.GcsDestination buildPartial()
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination

clear()

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder clear()
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

clearUri()

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder 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 for more information.

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder clone()
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

getDefaultInstanceForType()

public IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 for more information.

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

public 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 for more information.

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IamPolicyAnalysisOutputConfig.GcsDestination other)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder mergeFrom(IamPolicyAnalysisOutputConfig.GcsDestination other)
Parameter
Name Description
other IamPolicyAnalysisOutputConfig.GcsDestination
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisOutputConfig.GcsDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisOutputConfig.GcsDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder
Overrides

setUri(String value)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder setUri(String 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 for more information.

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder

This builder for chaining.

setUriBytes(ByteString value)

public IamPolicyAnalysisOutputConfig.GcsDestination.Builder setUriBytes(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 for more information.

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
IamPolicyAnalysisOutputConfig.GcsDestination.Builder

This builder for chaining.