- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudEvent.CloudEventAttributeValue.BuilderImplements
CloudEvent.CloudEventAttributeValueOrBuilderStatic 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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public CloudEvent.CloudEventAttributeValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudEvent.CloudEventAttributeValue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudEvent.CloudEventAttributeValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudEvent.CloudEventAttributeValue.Builder |
clone()
public CloudEvent.CloudEventAttributeValue.Builder clone()
Returns | |
---|---|
Type | Description |
CloudEvent.CloudEventAttributeValue.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudEvent.CloudEventAttributeValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudEvent.CloudEventAttributeValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudEvent.CloudEventAttributeValue.Builder |