- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
public static final class InputConfig.Builder extends GeneratedMessageV3.Builder<InputConfig.Builder> implements InputConfigOrBuilder
The desired input location information.
Protobuf type google.cloud.optimization.v1.InputConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InputConfig.BuilderImplements
InputConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InputConfig.Builder |
build()
public InputConfig build()
Type | Description |
InputConfig |
buildPartial()
public InputConfig buildPartial()
Type | Description |
InputConfig |
clear()
public InputConfig.Builder clear()
Type | Description |
InputConfig.Builder |
clearDataFormat()
public InputConfig.Builder clearDataFormat()
The input data format that used to store the model in Cloud Storage.
.google.cloud.optimization.v1.DataFormat data_format = 2;
Type | Description |
InputConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InputConfig.Builder |
clearGcsSource()
public InputConfig.Builder clearGcsSource()
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Type | Description |
InputConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InputConfig.Builder |
clearSource()
public InputConfig.Builder clearSource()
Type | Description |
InputConfig.Builder |
clone()
public InputConfig.Builder clone()
Type | Description |
InputConfig.Builder |
getDataFormat()
public DataFormat getDataFormat()
The input data format that used to store the model in Cloud Storage.
.google.cloud.optimization.v1.DataFormat data_format = 2;
Type | Description |
DataFormat | The dataFormat. |
getDataFormatValue()
public int getDataFormatValue()
The input data format that used to store the model in Cloud Storage.
.google.cloud.optimization.v1.DataFormat data_format = 2;
Type | Description |
int | The enum numeric value on the wire for dataFormat. |
getDefaultInstanceForType()
public InputConfig getDefaultInstanceForType()
Type | Description |
InputConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGcsSource()
public GcsSource getGcsSource()
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Type | Description |
GcsSource | The gcsSource. |
getGcsSourceBuilder()
public GcsSource.Builder getGcsSourceBuilder()
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Type | Description |
GcsSource.Builder |
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Type | Description |
GcsSourceOrBuilder |
getSourceCase()
public InputConfig.SourceCase getSourceCase()
Type | Description |
InputConfig.SourceCase |
hasGcsSource()
public boolean hasGcsSource()
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Type | Description |
boolean | Whether the gcsSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InputConfig other)
public InputConfig.Builder mergeFrom(InputConfig other)
Name | Description |
other | InputConfig |
Type | Description |
InputConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InputConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InputConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InputConfig.Builder |
mergeGcsSource(GcsSource value)
public InputConfig.Builder mergeGcsSource(GcsSource value)
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Name | Description |
value | GcsSource |
Type | Description |
InputConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InputConfig.Builder |
setDataFormat(DataFormat value)
public InputConfig.Builder setDataFormat(DataFormat value)
The input data format that used to store the model in Cloud Storage.
.google.cloud.optimization.v1.DataFormat data_format = 2;
Name | Description |
value | DataFormat The dataFormat to set. |
Type | Description |
InputConfig.Builder | This builder for chaining. |
setDataFormatValue(int value)
public InputConfig.Builder setDataFormatValue(int value)
The input data format that used to store the model in Cloud Storage.
.google.cloud.optimization.v1.DataFormat data_format = 2;
Name | Description |
value | int The enum numeric value on the wire for dataFormat to set. |
Type | Description |
InputConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InputConfig.Builder |
setGcsSource(GcsSource value)
public InputConfig.Builder setGcsSource(GcsSource value)
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Name | Description |
value | GcsSource |
Type | Description |
InputConfig.Builder |
setGcsSource(GcsSource.Builder builderForValue)
public InputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
The Google Cloud Storage location to read the input from. This must be a single file.
.google.cloud.optimization.v1.GcsSource gcs_source = 1;
Name | Description |
builderForValue | GcsSource.Builder |
Type | Description |
InputConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InputConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InputConfig.Builder |