Class InputConfig.Builder (1.3.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.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)

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

build()

publicInputConfigbuild()
Returns
Type Description

buildPartial()

publicInputConfigbuildPartial()
Returns
Type Description

clear()

publicInputConfig.Builderclear()
Returns
Type Description
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
Returns
Type Description
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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

publicInputConfig.BuilderclearSource()
Returns
Type Description

clone()

publicInputConfig.Builderclone()
Returns
Type Description
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

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
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

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

getSourceCase()

publicInputConfig.SourceCasegetSourceCase()
Returns
Type Description

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
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(InputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicInputConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
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

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalInputConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
value Object
Returns
Type Description
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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalInputConfig.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.