Class OptimizeToursValidationError.FieldReference.Builder (1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 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
publicstaticfinalclass OptimizeToursValidationError.FieldReference.BuilderextendsGeneratedMessageV3.Builder<OptimizeToursValidationError.FieldReference.Builder>implementsOptimizeToursValidationError.FieldReferenceOrBuilder Specifies a context for the validation error. A FieldReference always
refers to a given field in this file and follows the same hierarchical
structure. For example, we may specify element #2 of start_time_windows
of vehicle #5 using:
<code><code>
name: "vehicles" index: 5 sub_field { name: "end_time_windows" index: 2 }
</code></code><code>
We however omit top-level entities such as </code>OptimizeToursRequest<code> or
</code>ShipmentModel to avoid crowding the message.
Protobuf type
google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OptimizeToursValidationError.FieldReference.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicOptimizeToursValidationError.FieldReference.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicOptimizeToursValidationError.FieldReferencebuild()buildPartial()
publicOptimizeToursValidationError.FieldReferencebuildPartial()clear()
publicOptimizeToursValidationError.FieldReference.Builderclear()clearField(Descriptors.FieldDescriptor field)
publicOptimizeToursValidationError.FieldReference.BuilderclearField(Descriptors.FieldDescriptorfield)clearIndex()
publicOptimizeToursValidationError.FieldReference.BuilderclearIndex()Index of the field if repeated.
int32 index = 2;
This builder for chaining.
clearIndexOrKey()
publicOptimizeToursValidationError.FieldReference.BuilderclearIndexOrKey()clearKey()
publicOptimizeToursValidationError.FieldReference.BuilderclearKey()Key if the field is a map.
string key = 4;
This builder for chaining.
clearName()
publicOptimizeToursValidationError.FieldReference.BuilderclearName()Name of the field, e.g., "vehicles".
string name = 1;
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicOptimizeToursValidationError.FieldReference.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearSubField()
publicOptimizeToursValidationError.FieldReference.BuilderclearSubField()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
clone()
publicOptimizeToursValidationError.FieldReference.Builderclone()getDefaultInstanceForType()
publicOptimizeToursValidationError.FieldReferencegetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getIndex()
publicintgetIndex()Index of the field if repeated.
int32 index = 2;
The index.
getIndexOrKeyCase()
publicOptimizeToursValidationError.FieldReference.IndexOrKeyCasegetIndexOrKeyCase()getKey()
publicStringgetKey()Key if the field is a map.
string key = 4;
The key.
getKeyBytes()
publicByteStringgetKeyBytes()Key if the field is a map.
string key = 4;
The bytes for key.
getName()
publicStringgetName()Name of the field, e.g., "vehicles".
string name = 1;
The name.
getNameBytes()
publicByteStringgetNameBytes()Name of the field, e.g., "vehicles".
string name = 1;
The bytes for name.
getSubField()
publicOptimizeToursValidationError.FieldReferencegetSubField()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
The subField.
getSubFieldBuilder()
publicOptimizeToursValidationError.FieldReference.BuildergetSubFieldBuilder()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
getSubFieldOrBuilder()
publicOptimizeToursValidationError.FieldReferenceOrBuildergetSubFieldOrBuilder()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
hasIndex()
publicbooleanhasIndex()Index of the field if repeated.
int32 index = 2;
Whether the index field is set.
hasKey()
publicbooleanhasKey()Key if the field is a map.
string key = 4;
Whether the key field is set.
hasSubField()
publicbooleanhasSubField()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
Whether the subField field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(OptimizeToursValidationError.FieldReference other)
publicOptimizeToursValidationError.FieldReference.BuildermergeFrom(OptimizeToursValidationError.FieldReferenceother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicOptimizeToursValidationError.FieldReference.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicOptimizeToursValidationError.FieldReference.BuildermergeFrom(Messageother)mergeSubField(OptimizeToursValidationError.FieldReference value)
publicOptimizeToursValidationError.FieldReference.BuildermergeSubField(OptimizeToursValidationError.FieldReferencevalue)Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalOptimizeToursValidationError.FieldReference.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setField(Descriptors.FieldDescriptor field, Object value)
publicOptimizeToursValidationError.FieldReference.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setIndex(int value)
publicOptimizeToursValidationError.FieldReference.BuildersetIndex(intvalue)Index of the field if repeated.
int32 index = 2;
This builder for chaining.
setKey(String value)
publicOptimizeToursValidationError.FieldReference.BuildersetKey(Stringvalue)Key if the field is a map.
string key = 4;
This builder for chaining.
setKeyBytes(ByteString value)
publicOptimizeToursValidationError.FieldReference.BuildersetKeyBytes(ByteStringvalue)Key if the field is a map.
string key = 4;
This builder for chaining.
setName(String value)
publicOptimizeToursValidationError.FieldReference.BuildersetName(Stringvalue)Name of the field, e.g., "vehicles".
string name = 1;
This builder for chaining.
setNameBytes(ByteString value)
publicOptimizeToursValidationError.FieldReference.BuildersetNameBytes(ByteStringvalue)Name of the field, e.g., "vehicles".
string name = 1;
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicOptimizeToursValidationError.FieldReference.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setSubField(OptimizeToursValidationError.FieldReference value)
publicOptimizeToursValidationError.FieldReference.BuildersetSubField(OptimizeToursValidationError.FieldReferencevalue)Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
setSubField(OptimizeToursValidationError.FieldReference.Builder builderForValue)
publicOptimizeToursValidationError.FieldReference.BuildersetSubField(OptimizeToursValidationError.FieldReference.BuilderbuilderForValue)Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalOptimizeToursValidationError.FieldReference.BuildersetUnknownFields(UnknownFieldSetunknownFields)