public interface CloudEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAttributes(String key)
Optional & Extension Attributes
|
Map<String,CloudEvent.CloudEventAttributeValue> |
getAttributes()
Deprecated.
|
int |
getAttributesCount()
Optional & Extension Attributes
|
Map<String,CloudEvent.CloudEventAttributeValue> |
getAttributesMap()
Optional & Extension Attributes
|
CloudEvent.CloudEventAttributeValue |
getAttributesOrDefault(String key,
CloudEvent.CloudEventAttributeValue defaultValue)
Optional & Extension Attributes
|
CloudEvent.CloudEventAttributeValue |
getAttributesOrThrow(String key)
Optional & Extension Attributes
|
com.google.protobuf.ByteString |
getBinaryData()
bytes binary_data = 6; |
CloudEvent.DataCase |
getDataCase() |
String |
getId()
Required Attributes
|
com.google.protobuf.ByteString |
getIdBytes()
Required Attributes
|
com.google.protobuf.Any |
getProtoData()
.google.protobuf.Any proto_data = 8; |
com.google.protobuf.AnyOrBuilder |
getProtoDataOrBuilder()
.google.protobuf.Any proto_data = 8; |
String |
getSource()
URI-reference
|
com.google.protobuf.ByteString |
getSourceBytes()
URI-reference
|
String |
getSpecVersion()
string spec_version = 3; |
com.google.protobuf.ByteString |
getSpecVersionBytes()
string spec_version = 3; |
String |
getTextData()
string text_data = 7; |
com.google.protobuf.ByteString |
getTextDataBytes()
string text_data = 7; |
String |
getType()
string type = 4; |
com.google.protobuf.ByteString |
getTypeBytes()
string type = 4; |
boolean |
hasBinaryData()
bytes binary_data = 6; |
boolean |
hasProtoData()
.google.protobuf.Any proto_data = 8; |
boolean |
hasTextData()
string text_data = 7; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getId()
Required Attributes
string id = 1;com.google.protobuf.ByteString getIdBytes()
Required Attributes
string id = 1;String getSource()
URI-reference
string source = 2;com.google.protobuf.ByteString getSourceBytes()
URI-reference
string source = 2;String getSpecVersion()
string spec_version = 3;com.google.protobuf.ByteString getSpecVersionBytes()
string spec_version = 3;String getType()
string type = 4;com.google.protobuf.ByteString getTypeBytes()
string type = 4;int getAttributesCount()
Optional & Extension Attributes
map<string, .io.cloudevents.v1.CloudEvent.CloudEventAttributeValue> attributes = 5;boolean containsAttributes(String key)
Optional & Extension Attributes
map<string, .io.cloudevents.v1.CloudEvent.CloudEventAttributeValue> attributes = 5;@Deprecated Map<String,CloudEvent.CloudEventAttributeValue> getAttributes()
getAttributesMap() instead.Map<String,CloudEvent.CloudEventAttributeValue> getAttributesMap()
Optional & Extension Attributes
map<string, .io.cloudevents.v1.CloudEvent.CloudEventAttributeValue> attributes = 5;CloudEvent.CloudEventAttributeValue getAttributesOrDefault(String key, CloudEvent.CloudEventAttributeValue defaultValue)
Optional & Extension Attributes
map<string, .io.cloudevents.v1.CloudEvent.CloudEventAttributeValue> attributes = 5;CloudEvent.CloudEventAttributeValue getAttributesOrThrow(String key)
Optional & Extension Attributes
map<string, .io.cloudevents.v1.CloudEvent.CloudEventAttributeValue> attributes = 5;boolean hasBinaryData()
bytes binary_data = 6;com.google.protobuf.ByteString getBinaryData()
bytes binary_data = 6;boolean hasTextData()
string text_data = 7;String getTextData()
string text_data = 7;com.google.protobuf.ByteString getTextDataBytes()
string text_data = 7;boolean hasProtoData()
.google.protobuf.Any proto_data = 8;com.google.protobuf.Any getProtoData()
.google.protobuf.Any proto_data = 8;com.google.protobuf.AnyOrBuilder getProtoDataOrBuilder()
.google.protobuf.Any proto_data = 8;CloudEvent.DataCase getDataCase()
Copyright © 2023. All rights reserved.