public static final class CloudEvent.CloudEventAttributeValue.Builder extends GeneratedMessage.Builder<CloudEvent.CloudEventAttributeValue.Builder> implements CloudEvent.CloudEventAttributeValueOrBuilderThe following abstract data types are available for use in attributes.
Protobuf type google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudEvent.CloudEventAttributeValue.BuilderImplements
CloudEvent.CloudEventAttributeValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
setCeBoolean(boolean value)
public CloudEvent.CloudEventAttributeValue.Builder setCeBoolean(boolean value)Boolean value.
bool ce_boolean = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe 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 |
ByteStringThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for ceUriRef to set. |
| Returns | |
|---|---|
| Type | Description |
CloudEvent.CloudEventAttributeValue.Builder |
This builder for chaining. |