Class StructuredMessage.Parameter.Builder (0.46.0)

public static final class StructuredMessage.Parameter.Builder extends GeneratedMessageV3.Builder<StructuredMessage.Parameter.Builder> implements StructuredMessage.ParameterOrBuilder

Structured data associated with this message.

Protobuf type google.dataflow.v1beta3.StructuredMessage.Parameter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StructuredMessage.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

build()

public StructuredMessage.Parameter build()
Returns
Type Description
StructuredMessage.Parameter

buildPartial()

public StructuredMessage.Parameter buildPartial()
Returns
Type Description
StructuredMessage.Parameter

clear()

public StructuredMessage.Parameter.Builder clear()
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StructuredMessage.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

clearKey()

public StructuredMessage.Parameter.Builder clearKey()

Key or name for this parameter.

string key = 1;

Returns
Type Description
StructuredMessage.Parameter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StructuredMessage.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

clearValue()

public StructuredMessage.Parameter.Builder clearValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
StructuredMessage.Parameter.Builder

clone()

public StructuredMessage.Parameter.Builder clone()
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

getDefaultInstanceForType()

public StructuredMessage.Parameter getDefaultInstanceForType()
Returns
Type Description
StructuredMessage.Parameter

getDescriptorForType()

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

getKey()

public String getKey()

Key or name for this parameter.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key or name for this parameter.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getValue()

public Value getValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StructuredMessage.Parameter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StructuredMessage.Parameter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StructuredMessage.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

mergeValue(Value value)

public StructuredMessage.Parameter.Builder mergeValue(Value value)

Value for this parameter.

.google.protobuf.Value value = 2;

Parameter
Name Description
value Value
Returns
Type Description
StructuredMessage.Parameter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StructuredMessage.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

setKey(String value)

public StructuredMessage.Parameter.Builder setKey(String value)

Key or name for this parameter.

string key = 1;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
StructuredMessage.Parameter.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public StructuredMessage.Parameter.Builder setKeyBytes(ByteString value)

Key or name for this parameter.

string key = 1;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
StructuredMessage.Parameter.Builder

This builder for chaining.

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

public StructuredMessage.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StructuredMessage.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

setValue(Value value)

public StructuredMessage.Parameter.Builder setValue(Value value)

Value for this parameter.

.google.protobuf.Value value = 2;

Parameter
Name Description
value Value
Returns
Type Description
StructuredMessage.Parameter.Builder

setValue(Value.Builder builderForValue)

public StructuredMessage.Parameter.Builder setValue(Value.Builder builderForValue)

Value for this parameter.

.google.protobuf.Value value = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
StructuredMessage.Parameter.Builder