Class StructuredMessage.Parameter.Builder (0.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StructuredMessage.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

build()

public StructuredMessage.Parameter build()
Returns
TypeDescription
StructuredMessage.Parameter

buildPartial()

public StructuredMessage.Parameter buildPartial()
Returns
TypeDescription
StructuredMessage.Parameter

clear()

public StructuredMessage.Parameter.Builder clear()
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StructuredMessage.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

clearKey()

public StructuredMessage.Parameter.Builder clearKey()

Key or name for this parameter.

string key = 1;

Returns
TypeDescription
StructuredMessage.Parameter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StructuredMessage.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

clearValue()

public StructuredMessage.Parameter.Builder clearValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
TypeDescription
StructuredMessage.Parameter.Builder

clone()

public StructuredMessage.Parameter.Builder clone()
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

getDefaultInstanceForType()

public StructuredMessage.Parameter getDefaultInstanceForType()
Returns
TypeDescription
StructuredMessage.Parameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKey()

public String getKey()

Key or name for this parameter.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key or name for this parameter.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getValue()

public Value getValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
TypeDescription
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
TypeDescription
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
TypeDescription
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StructuredMessage.Parameter other)

public StructuredMessage.Parameter.Builder mergeFrom(StructuredMessage.Parameter other)
Parameter
NameDescription
otherStructuredMessage.Parameter
Returns
TypeDescription
StructuredMessage.Parameter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StructuredMessage.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StructuredMessage.Parameter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StructuredMessage.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

mergeValue(Value value)

public StructuredMessage.Parameter.Builder mergeValue(Value value)

Value for this parameter.

.google.protobuf.Value value = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
StructuredMessage.Parameter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StructuredMessage.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

setKey(String value)

public StructuredMessage.Parameter.Builder setKey(String value)

Key or name for this parameter.

string key = 1;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StructuredMessage.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StructuredMessage.Parameter.Builder
Overrides

setValue(Value value)

public StructuredMessage.Parameter.Builder setValue(Value value)

Value for this parameter.

.google.protobuf.Value value = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
StructuredMessage.Parameter.Builder