Class CloudEvent.CloudEventAttributeValue.Builder (0.55.0)

public static final class CloudEvent.CloudEventAttributeValue.Builder extends GeneratedMessageV3.Builder<CloudEvent.CloudEventAttributeValue.Builder> implements CloudEvent.CloudEventAttributeValueOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public CloudEvent.CloudEventAttributeValue.Builder clear()
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder
Overrides

clearAttr()

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

clearCeBoolean()

public CloudEvent.CloudEventAttributeValue.Builder clearCeBoolean()

Boolean value.

bool ce_boolean = 1;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

clearCeBytes()

public CloudEvent.CloudEventAttributeValue.Builder clearCeBytes()

Bytes value.

bytes ce_bytes = 4;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

clearCeInteger()

public CloudEvent.CloudEventAttributeValue.Builder clearCeInteger()

Integer value.

int32 ce_integer = 2;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

clearCeString()

public CloudEvent.CloudEventAttributeValue.Builder clearCeString()

String value.

string ce_string = 3;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

clearCeTimestamp()

public CloudEvent.CloudEventAttributeValue.Builder clearCeTimestamp()

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

clearCeUri()

public CloudEvent.CloudEventAttributeValue.Builder clearCeUri()

URI value.

string ce_uri = 5;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

clearCeUriRef()

public CloudEvent.CloudEventAttributeValue.Builder clearCeUriRef()

URI-reference value.

string ce_uri_ref = 6;

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CloudEvent.CloudEventAttributeValue.Builder clone()
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder
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.

getCeTimestampBuilder()

public Timestamp.Builder getCeTimestampBuilder()

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCeTimestamp(Timestamp value)

public CloudEvent.CloudEventAttributeValue.Builder mergeCeTimestamp(Timestamp value)

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

mergeFrom(CloudEvent.CloudEventAttributeValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCeBoolean(boolean value)

public CloudEvent.CloudEventAttributeValue.Builder setCeBoolean(boolean value)

Boolean value.

bool ce_boolean = 1;

Parameter
Name Description
value boolean

The ceBoolean to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeBytes(ByteString value)

public CloudEvent.CloudEventAttributeValue.Builder setCeBytes(ByteString value)

Bytes value.

bytes ce_bytes = 4;

Parameter
Name Description
value ByteString

The ceBytes to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeInteger(int value)

public CloudEvent.CloudEventAttributeValue.Builder setCeInteger(int value)

Integer value.

int32 ce_integer = 2;

Parameter
Name Description
value int

The ceInteger to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeString(String value)

public CloudEvent.CloudEventAttributeValue.Builder setCeString(String value)

String value.

string ce_string = 3;

Parameter
Name Description
value String

The ceString to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeStringBytes(ByteString value)

public CloudEvent.CloudEventAttributeValue.Builder setCeStringBytes(ByteString value)

String value.

string ce_string = 3;

Parameter
Name Description
value ByteString

The bytes for ceString to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeTimestamp(Timestamp value)

public CloudEvent.CloudEventAttributeValue.Builder setCeTimestamp(Timestamp value)

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

setCeTimestamp(Timestamp.Builder builderForValue)

public CloudEvent.CloudEventAttributeValue.Builder setCeTimestamp(Timestamp.Builder builderForValue)

Timestamp value.

.google.protobuf.Timestamp ce_timestamp = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

setCeUri(String value)

public CloudEvent.CloudEventAttributeValue.Builder setCeUri(String value)

URI value.

string ce_uri = 5;

Parameter
Name Description
value String

The ceUri to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeUriBytes(ByteString value)

public CloudEvent.CloudEventAttributeValue.Builder setCeUriBytes(ByteString value)

URI value.

string ce_uri = 5;

Parameter
Name Description
value ByteString

The bytes for ceUri to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeUriRef(String value)

public CloudEvent.CloudEventAttributeValue.Builder setCeUriRef(String value)

URI-reference value.

string ce_uri_ref = 6;

Parameter
Name Description
value String

The ceUriRef to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setCeUriRefBytes(ByteString value)

public CloudEvent.CloudEventAttributeValue.Builder setCeUriRefBytes(ByteString value)

URI-reference value.

string ce_uri_ref = 6;

Parameter
Name Description
value ByteString

The bytes for ceUriRef to set.

Returns
Type Description
CloudEvent.CloudEventAttributeValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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