Class CloudEvent.CloudEventAttributeValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue
- All Implemented Interfaces:
CloudEvent.CloudEventAttributeValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- CloudEvent
public static final class CloudEvent.CloudEventAttributeValue
extends com.google.protobuf.GeneratedMessage
implements CloudEvent.CloudEventAttributeValueOrBuilder
The following abstract data types are available for use in attributes.Protobuf type
google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classThe following abstract data types are available for use in attributes.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanBoolean value.com.google.protobuf.ByteStringBytes value.intInteger value.String value.com.google.protobuf.ByteStringString value.com.google.protobuf.TimestampTimestamp value.com.google.protobuf.TimestampOrBuilderTimestamp value.getCeUri()URI value.com.google.protobuf.ByteStringURI value.URI-reference value.com.google.protobuf.ByteStringURI-reference value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<CloudEvent.CloudEventAttributeValue>intbooleanBoolean value.booleanBytes value.booleanInteger value.booleanString value.booleanTimestamp value.booleanhasCeUri()URI value.booleanURI-reference value.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(CloudEvent.CloudEventAttributeValue prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CloudEvent.CloudEventAttributeValue>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CE_BOOLEAN_FIELD_NUMBER
public static final int CE_BOOLEAN_FIELD_NUMBER- See Also:
-
CE_INTEGER_FIELD_NUMBER
public static final int CE_INTEGER_FIELD_NUMBER- See Also:
-
CE_STRING_FIELD_NUMBER
public static final int CE_STRING_FIELD_NUMBER- See Also:
-
CE_BYTES_FIELD_NUMBER
public static final int CE_BYTES_FIELD_NUMBER- See Also:
-
CE_URI_FIELD_NUMBER
public static final int CE_URI_FIELD_NUMBER- See Also:
-
CE_URI_REF_FIELD_NUMBER
public static final int CE_URI_REF_FIELD_NUMBER- See Also:
-
CE_TIMESTAMP_FIELD_NUMBER
public static final int CE_TIMESTAMP_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAttrCase
- Specified by:
getAttrCasein interfaceCloudEvent.CloudEventAttributeValueOrBuilder
-
hasCeBoolean
public boolean hasCeBoolean()Boolean value.
bool ce_boolean = 1;- Specified by:
hasCeBooleanin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceBoolean field is set.
-
getCeBoolean
public boolean getCeBoolean()Boolean value.
bool ce_boolean = 1;- Specified by:
getCeBooleanin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceBoolean.
-
hasCeInteger
public boolean hasCeInteger()Integer value.
int32 ce_integer = 2;- Specified by:
hasCeIntegerin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceInteger field is set.
-
getCeInteger
public int getCeInteger()Integer value.
int32 ce_integer = 2;- Specified by:
getCeIntegerin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceInteger.
-
hasCeString
public boolean hasCeString()String value.
string ce_string = 3;- Specified by:
hasCeStringin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceString field is set.
-
getCeString
String value.
string ce_string = 3;- Specified by:
getCeStringin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceString.
-
getCeStringBytes
public com.google.protobuf.ByteString getCeStringBytes()String value.
string ce_string = 3;- Specified by:
getCeStringBytesin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The bytes for ceString.
-
hasCeBytes
public boolean hasCeBytes()Bytes value.
bytes ce_bytes = 4;- Specified by:
hasCeBytesin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceBytes field is set.
-
getCeBytes
public com.google.protobuf.ByteString getCeBytes()Bytes value.
bytes ce_bytes = 4;- Specified by:
getCeBytesin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceBytes.
-
hasCeUri
public boolean hasCeUri()URI value.
string ce_uri = 5;- Specified by:
hasCeUriin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceUri field is set.
-
getCeUri
URI value.
string ce_uri = 5;- Specified by:
getCeUriin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceUri.
-
getCeUriBytes
public com.google.protobuf.ByteString getCeUriBytes()URI value.
string ce_uri = 5;- Specified by:
getCeUriBytesin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The bytes for ceUri.
-
hasCeUriRef
public boolean hasCeUriRef()URI-reference value.
string ce_uri_ref = 6;- Specified by:
hasCeUriRefin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceUriRef field is set.
-
getCeUriRef
URI-reference value.
string ce_uri_ref = 6;- Specified by:
getCeUriRefin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceUriRef.
-
getCeUriRefBytes
public com.google.protobuf.ByteString getCeUriRefBytes()URI-reference value.
string ce_uri_ref = 6;- Specified by:
getCeUriRefBytesin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The bytes for ceUriRef.
-
hasCeTimestamp
public boolean hasCeTimestamp()Timestamp value.
.google.protobuf.Timestamp ce_timestamp = 7;- Specified by:
hasCeTimestampin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- Whether the ceTimestamp field is set.
-
getCeTimestamp
public com.google.protobuf.Timestamp getCeTimestamp()Timestamp value.
.google.protobuf.Timestamp ce_timestamp = 7;- Specified by:
getCeTimestampin interfaceCloudEvent.CloudEventAttributeValueOrBuilder- Returns:
- The ceTimestamp.
-
getCeTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getCeTimestampOrBuilder()Timestamp value.
.google.protobuf.Timestamp ce_timestamp = 7;- Specified by:
getCeTimestampOrBuilderin interfaceCloudEvent.CloudEventAttributeValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CloudEvent.CloudEventAttributeValue parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CloudEvent.CloudEventAttributeValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CloudEvent.CloudEventAttributeValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static CloudEvent.CloudEventAttributeValue.Builder newBuilder(CloudEvent.CloudEventAttributeValue prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CloudEvent.CloudEventAttributeValue.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-