Class OutputConfig.Builder (1.7.0)

publicstaticfinalclass OutputConfig.BuilderextendsGeneratedMessageV3.Builder<OutputConfig.Builder>implementsOutputConfigOrBuilder

The desired output location.

Protobuf type google.cloud.optimization.v1.OutputConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

publicOutputConfigbuild()
Returns
Type Description

buildPartial()

publicOutputConfigbuildPartial()
Returns
Type Description

clear()

publicOutputConfig.Builderclear()
Returns
Type Description
Overrides

clearDataFormat()

publicOutputConfig.BuilderclearDataFormat()

The output data format that used to store the results in Cloud Storage.

.google.cloud.optimization.v1.DataFormat data_format = 2;

Returns
Type Description
OutputConfig.Builder

This builder for chaining.

clearDestination()

publicOutputConfig.BuilderclearDestination()
Returns
Type Description

clearField(Descriptors.FieldDescriptor field)

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

clearGcsDestination()

publicOutputConfig.BuilderclearGcsDestination()

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Returns
Type Description

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

publicOutputConfig.Builderclone()
Returns
Type Description
Overrides

getDataFormat()

publicDataFormatgetDataFormat()

The output data format that used to store the results in Cloud Storage.

.google.cloud.optimization.v1.DataFormat data_format = 2;

Returns
Type Description
DataFormat

The dataFormat.

getDataFormatValue()

publicintgetDataFormatValue()

The output data format that used to store the results in Cloud Storage.

.google.cloud.optimization.v1.DataFormat data_format = 2;

Returns
Type Description
int

The enum numeric value on the wire for dataFormat.

getDefaultInstanceForType()

publicOutputConfiggetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getDestinationCase()

publicOutputConfig.DestinationCasegetDestinationCase()
Returns
Type Description

getGcsDestination()

publicGcsDestinationgetGcsDestination()

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Returns
Type Description
GcsDestination

The gcsDestination.

getGcsDestinationBuilder()

publicGcsDestination.BuildergetGcsDestinationBuilder()

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Returns
Type Description

getGcsDestinationOrBuilder()

publicGcsDestinationOrBuildergetGcsDestinationOrBuilder()

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Returns
Type Description

hasGcsDestination()

publicbooleanhasGcsDestination()

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Returns
Type Description
boolean

Whether the gcsDestination field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(OutputConfig other)

publicOutputConfig.BuildermergeFrom(OutputConfigother)
Parameter
Name Description
other OutputConfig
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsDestination(GcsDestination value)

publicOutputConfig.BuildermergeGcsDestination(GcsDestinationvalue)

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Parameter
Name Description
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataFormat(DataFormat value)

publicOutputConfig.BuildersetDataFormat(DataFormatvalue)

The output data format that used to store the results in Cloud Storage.

.google.cloud.optimization.v1.DataFormat data_format = 2;

Parameter
Name Description
value DataFormat

The dataFormat to set.

Returns
Type Description
OutputConfig.Builder

This builder for chaining.

setDataFormatValue(int value)

publicOutputConfig.BuildersetDataFormatValue(intvalue)

The output data format that used to store the results in Cloud Storage.

.google.cloud.optimization.v1.DataFormat data_format = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for dataFormat to set.

Returns
Type Description
OutputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsDestination(GcsDestination value)

publicOutputConfig.BuildersetGcsDestination(GcsDestinationvalue)

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Parameter
Name Description
Returns
Type Description

setGcsDestination(GcsDestination.Builder builderForValue)

publicOutputConfig.BuildersetGcsDestination(GcsDestination.BuilderbuilderForValue)

The Google Cloud Storage location to write the output to.

.google.cloud.optimization.v1.GcsDestination gcs_destination = 1;

Parameter
Name Description
builderForValue GcsDestination.Builder
Returns
Type Description

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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.