Class ExperimentalField.Builder (0.6.0)

public static final class ExperimentalField.Builder extends GeneratedMessage.Builder<ExperimentalField.Builder> implements ExperimentalFieldOrBuilder

Experimental field representing unofficial fields.

Protobuf type google.ads.datamanager.v1.ExperimentalField

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExperimentalField build()
Returns
Type Description
ExperimentalField

buildPartial()

public ExperimentalField buildPartial()
Returns
Type Description
ExperimentalField

clear()

public ExperimentalField.Builder clear()
Returns
Type Description
ExperimentalField.Builder
Overrides

clearField()

public ExperimentalField.Builder clearField()

Optional. The name of the field to use.

string field = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExperimentalField.Builder

This builder for chaining.

clearValue()

public ExperimentalField.Builder clearValue()

Optional. The value the field to set.

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExperimentalField.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExperimentalField getDefaultInstanceForType()
Returns
Type Description
ExperimentalField

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getField()

public String 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()

public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExperimentalField other)

public ExperimentalField.Builder mergeFrom(ExperimentalField other)
Parameter
Name Description
other ExperimentalField
Returns
Type Description
ExperimentalField.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExperimentalField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentalField.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExperimentalField.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExperimentalField.Builder
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.

Returns
Type Description
ExperimentalField.Builder

This builder for chaining.

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.

Returns
Type Description
ExperimentalField.Builder

This builder for chaining.

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.

Returns
Type Description
ExperimentalField.Builder

This builder for chaining.

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.

Returns
Type Description
ExperimentalField.Builder

This builder for chaining.