Class GcsDestination.Builder (0.1.2)

publicstaticfinalclass GcsDestination.BuilderextendsGeneratedMessageV3.Builder<GcsDestination.Builder>implementsGcsDestinationOrBuilder

The Google Cloud Storage location where the output file will be written to.

Protobuf type google.cloud.optimization.v1.GcsDestination

Inherited Members

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicGcsDestination.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicGcsDestinationbuild()
Returns
Type Description

buildPartial()

publicGcsDestinationbuildPartial()
Returns
Type Description

clear()

publicGcsDestination.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicGcsDestination.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicGcsDestination.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearUri()

publicGcsDestination.BuilderclearUri()

Required. URI of the Google Cloud Storage location.

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

Returns
Type Description
GcsDestination.Builder

This builder for chaining.

clone()

publicGcsDestination.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicGcsDestinationgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getUri()

publicStringgetUri()

Required. URI of the Google Cloud Storage location.

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

Returns
Type Description
String

The uri.

getUriBytes()

publicByteStringgetUriBytes()

Required. URI of the Google Cloud Storage location.

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

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(GcsDestination other)

publicGcsDestination.BuildermergeFrom(GcsDestinationother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicGcsDestination.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicGcsDestination.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalGcsDestination.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicGcsDestination.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

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

publicGcsDestination.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalGcsDestination.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setUri(String value)

publicGcsDestination.BuildersetUri(Stringvalue)

Required. URI of the Google Cloud Storage location.

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

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
GcsDestination.Builder

This builder for chaining.

setUriBytes(ByteString value)

publicGcsDestination.BuildersetUriBytes(ByteStringvalue)

Required. URI of the Google Cloud Storage location.

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

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
GcsDestination.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.