Class StructuredMessage.Parameter (0.46.0)

public static final class StructuredMessage.Parameter extends GeneratedMessageV3 implements StructuredMessage.ParameterOrBuilder

Structured data associated with this message.

Protobuf type google.dataflow.v1beta3.StructuredMessage.Parameter

Static Fields

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StructuredMessage.Parameter getDefaultInstance()
Returns
Type Description
StructuredMessage.Parameter

getDescriptor()

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

newBuilder()

public static StructuredMessage.Parameter.Builder newBuilder()
Returns
Type Description
StructuredMessage.Parameter.Builder

newBuilder(StructuredMessage.Parameter prototype)

public static StructuredMessage.Parameter.Builder newBuilder(StructuredMessage.Parameter prototype)
Parameter
Name Description
prototype StructuredMessage.Parameter
Returns
Type Description
StructuredMessage.Parameter.Builder

parseDelimitedFrom(InputStream input)

public static StructuredMessage.Parameter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredMessage.Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StructuredMessage.Parameter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StructuredMessage.Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StructuredMessage.Parameter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StructuredMessage.Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StructuredMessage.Parameter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredMessage.Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StructuredMessage.Parameter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredMessage.Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StructuredMessage.Parameter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StructuredMessage.Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMessage.Parameter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StructuredMessage.Parameter> parser()
Returns
Type Description
Parser<Parameter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<StructuredMessage.Parameter> getParserForType()
Returns
Type Description
Parser<Parameter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public Value getValue()

Value for this parameter.

.google.protobuf.Value value = 2;

Returns
Type Description
Value

The value.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StructuredMessage.Parameter.Builder newBuilderForType()
Returns
Type Description
StructuredMessage.Parameter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StructuredMessage.Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StructuredMessage.Parameter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StructuredMessage.Parameter.Builder toBuilder()
Returns
Type Description
StructuredMessage.Parameter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException