Class CloudEvent.CloudEventAttributeValue (0.55.0)

public static final class CloudEvent.CloudEventAttributeValue extends GeneratedMessageV3 implements CloudEvent.CloudEventAttributeValueOrBuilder

The following abstract data types are available for use in attributes.

Protobuf type google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CloudEvent.CloudEventAttributeValue

Static Fields

CE_BOOLEAN_FIELD_NUMBER

public static final int CE_BOOLEAN_FIELD_NUMBER
Field Value
Type Description
int

CE_BYTES_FIELD_NUMBER

public static final int CE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

CE_INTEGER_FIELD_NUMBER

public static final int CE_INTEGER_FIELD_NUMBER
Field Value
Type Description
int

CE_STRING_FIELD_NUMBER

public static final int CE_STRING_FIELD_NUMBER
Field Value
Type Description
int

CE_TIMESTAMP_FIELD_NUMBER

public static final int CE_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

CE_URI_FIELD_NUMBER

public static final int CE_URI_FIELD_NUMBER
Field Value
Type Description
int

CE_URI_REF_FIELD_NUMBER

public static final int CE_URI_REF_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudEvent.CloudEventAttributeValue getDefaultInstance()
Returns
Type Description
CloudEvent.CloudEventAttributeValue

getDescriptor()

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

newBuilder()

public static CloudEvent.CloudEventAttributeValue.Builder newBuilder()
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

newBuilder(CloudEvent.CloudEventAttributeValue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CloudEvent.CloudEventAttributeValue> parser()
Returns
Type Description
Parser<CloudEventAttributeValue>

Methods

equals(Object obj)

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

getAttrCase()

public CloudEvent.CloudEventAttributeValue.AttrCase getAttrCase()
Returns
Type Description
CloudEvent.CloudEventAttributeValue.AttrCase

getCeBoolean()

public boolean getCeBoolean()

Boolean value.

bool ce_boolean = 1;

Returns
Type Description
boolean

The ceBoolean.

getCeBytes()

public ByteString getCeBytes()

Bytes value.

bytes ce_bytes = 4;

Returns
Type Description
ByteString

The ceBytes.

getCeInteger()

public int getCeInteger()

Integer value.

int32 ce_integer = 2;

Returns
Type Description
int

The ceInteger.

getCeString()

public String getCeString()

String value.

string ce_string = 3;

Returns
Type Description
String

The ceString.

getCeStringBytes()

public ByteString getCeStringBytes()

String value.

string ce_string = 3;

Returns
Type Description
ByteString

The bytes for ceString.

getCeTimestamp()

public Timestamp getCeTimestamp()

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Returns
Type Description
Timestamp

The ceTimestamp.

getCeTimestampOrBuilder()

public TimestampOrBuilder getCeTimestampOrBuilder()

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Returns
Type Description
TimestampOrBuilder

getCeUri()

public String getCeUri()

URI value.

string ce_uri = 5;

Returns
Type Description
String

The ceUri.

getCeUriBytes()

public ByteString getCeUriBytes()

URI value.

string ce_uri = 5;

Returns
Type Description
ByteString

The bytes for ceUri.

getCeUriRef()

public String getCeUriRef()

URI-reference value.

string ce_uri_ref = 6;

Returns
Type Description
String

The ceUriRef.

getCeUriRefBytes()

public ByteString getCeUriRefBytes()

URI-reference value.

string ce_uri_ref = 6;

Returns
Type Description
ByteString

The bytes for ceUriRef.

getDefaultInstanceForType()

public CloudEvent.CloudEventAttributeValue getDefaultInstanceForType()
Returns
Type Description
CloudEvent.CloudEventAttributeValue

getParserForType()

public Parser<CloudEvent.CloudEventAttributeValue> getParserForType()
Returns
Type Description
Parser<CloudEventAttributeValue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCeBoolean()

public boolean hasCeBoolean()

Boolean value.

bool ce_boolean = 1;

Returns
Type Description
boolean

Whether the ceBoolean field is set.

hasCeBytes()

public boolean hasCeBytes()

Bytes value.

bytes ce_bytes = 4;

Returns
Type Description
boolean

Whether the ceBytes field is set.

hasCeInteger()

public boolean hasCeInteger()

Integer value.

int32 ce_integer = 2;

Returns
Type Description
boolean

Whether the ceInteger field is set.

hasCeString()

public boolean hasCeString()

String value.

string ce_string = 3;

Returns
Type Description
boolean

Whether the ceString field is set.

hasCeTimestamp()

public boolean hasCeTimestamp()

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Returns
Type Description
boolean

Whether the ceTimestamp field is set.

hasCeUri()

public boolean hasCeUri()

URI value.

string ce_uri = 5;

Returns
Type Description
boolean

Whether the ceUri field is set.

hasCeUriRef()

public boolean hasCeUriRef()

URI-reference value.

string ce_uri_ref = 6;

Returns
Type Description
boolean

Whether the ceUriRef 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 CloudEvent.CloudEventAttributeValue.Builder newBuilderForType()
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CloudEvent.CloudEventAttributeValue.Builder toBuilder()
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

writeTo(CodedOutputStream output)

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