Class InputConfig.Builder (1.34.0)

publicstaticfinalclass InputConfig.BuilderextendsGeneratedMessageV3.Builder<InputConfig.Builder>implementsInputConfigOrBuilder

The desired input location information.

Protobuf type google.cloud.optimization.v1.InputConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicInputConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputConfig.Builder
Overrides

build()

publicInputConfigbuild()
Returns
Type Description
InputConfig

buildPartial()

publicInputConfigbuildPartial()
Returns
Type Description
InputConfig

clear()

publicInputConfig.Builderclear()
Returns
Type Description
InputConfig.Builder
Overrides

clearDataFormat()

publicInputConfig.BuilderclearDataFormat()

The input data format that used to store the model in Cloud Storage.

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

Returns
Type Description
InputConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicInputConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InputConfig.Builder
Overrides

clearGcsSource()

publicInputConfig.BuilderclearGcsSource()

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Returns
Type Description
InputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicInputConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InputConfig.Builder
Overrides

clearSource()

publicInputConfig.BuilderclearSource()
Returns
Type Description
InputConfig.Builder

clone()

publicInputConfig.Builderclone()
Returns
Type Description
InputConfig.Builder
Overrides

getDataFormat()

publicDataFormatgetDataFormat()

The input data format that used to store the model in Cloud Storage.

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

Returns
Type Description
DataFormat

The dataFormat.

getDataFormatValue()

publicintgetDataFormatValue()

The input data format that used to store the model 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()

publicInputConfiggetDefaultInstanceForType()
Returns
Type Description
InputConfig

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsSource()

publicGcsSourcegetGcsSource()

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

publicGcsSource.BuildergetGcsSourceBuilder()

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

publicGcsSourceOrBuildergetGcsSourceOrBuilder()

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Returns
Type Description
GcsSourceOrBuilder

getSourceCase()

publicInputConfig.SourceCasegetSourceCase()
Returns
Type Description
InputConfig.SourceCase

hasGcsSource()

publicbooleanhasGcsSource()

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Returns
Type Description
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InputConfig other)

publicInputConfig.BuildermergeFrom(InputConfigother)
Parameter
Name Description
other InputConfig
Returns
Type Description
InputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicInputConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicInputConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
InputConfig.Builder
Overrides

mergeGcsSource(GcsSource value)

publicInputConfig.BuildermergeGcsSource(GcsSourcevalue)

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
InputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalInputConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputConfig.Builder
Overrides

setDataFormat(DataFormat value)

publicInputConfig.BuildersetDataFormat(DataFormatvalue)

The input data format that used to store the model in Cloud Storage.

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

Parameter
Name Description
value DataFormat

The dataFormat to set.

Returns
Type Description
InputConfig.Builder

This builder for chaining.

setDataFormatValue(int value)

publicInputConfig.BuildersetDataFormatValue(intvalue)

The input data format that used to store the model 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
InputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicInputConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputConfig.Builder
Overrides

setGcsSource(GcsSource value)

publicInputConfig.BuildersetGcsSource(GcsSourcevalue)

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
InputConfig.Builder

setGcsSource(GcsSource.Builder builderForValue)

publicInputConfig.BuildersetGcsSource(GcsSource.BuilderbuilderForValue)

The Google Cloud Storage location to read the input from. This must be a single file.

.google.cloud.optimization.v1.GcsSource gcs_source = 1;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
InputConfig.Builder

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

publicInputConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalInputConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputConfig.Builder
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.