Class ExperimentalField.Builder (0.1.0)
public static final class ExperimentalField.Builder extends GeneratedMessageV3.Builder<ExperimentalField.Builder> implements ExperimentalFieldOrBuilder
Experimental field representing unofficial fields.
Protobuf type google.ads.datamanager.v1.ExperimentalField
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExperimentalField.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExperimentalField build()
buildPartial()
public ExperimentalField buildPartial()
clear()
public ExperimentalField.Builder clear()
Overrides
clearField()
public ExperimentalField.Builder clearField()
Optional. The name of the field to use.
string field = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public ExperimentalField.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExperimentalField.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public ExperimentalField.Builder clearValue()
Optional. The value the field to set.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ExperimentalField.Builder clone()
Overrides
getDefaultInstanceForType()
public ExperimentalField getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getField()
Optional. The name of the field to use.
string field = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The field.
|
getFieldBytes()
public ByteString getFieldBytes()
Optional. The name of the field to use.
string field = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for field.
|
getValue()
Optional. The value the field to set.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The value.
|
getValueBytes()
public ByteString getValueBytes()
Optional. The value the field to set.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for value.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExperimentalField other)
public ExperimentalField.Builder mergeFrom(ExperimentalField other)
public ExperimentalField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExperimentalField.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExperimentalField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExperimentalField.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setField(String value)
public ExperimentalField.Builder setField(String value)
Optional. The name of the field to use.
string field = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The field to set.
|
setFieldBytes(ByteString value)
public ExperimentalField.Builder setFieldBytes(ByteString value)
Optional. The name of the field to use.
string field = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for field to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExperimentalField.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExperimentalField.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(String value)
public ExperimentalField.Builder setValue(String value)
Optional. The value the field to set.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The value to set.
|
setValueBytes(ByteString value)
public ExperimentalField.Builder setValueBytes(ByteString value)
Optional. The value the field to set.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for value to set.
|
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-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-19 UTC."],[],[]]