Package com.salesforce.eventbus.protobuf
Class TopicInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.salesforce.eventbus.protobuf.TopicInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TopicInfoOrBuilder,Serializable
public final class TopicInfo
extends com.google.protobuf.GeneratedMessageV3
implements TopicInfoOrBuilder
Contains information about a topic and uniquely identifies it. TopicInfo is returned by the GetTopic RPC method.Protobuf type
eventbus.v1.TopicInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains information about a topic and uniquely identifies it.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested 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 intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIs publishing allowed?booleanIs subscription allowed?static TopicInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<TopicInfo> getRpcId()RPC ID used to trace errors.com.google.protobuf.ByteStringRPC ID used to trace errors.ID of the current topic schema, which can be used for publishing of generically serialized events.com.google.protobuf.ByteStringID of the current topic schema, which can be used for publishing of generically serialized events.intTenant/org GUIDcom.google.protobuf.ByteStringTenant/org GUIDTopic namecom.google.protobuf.ByteStringTopic nameinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic TopicInfo.Builderstatic TopicInfo.BuildernewBuilder(TopicInfo prototype) protected TopicInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TopicInfoparseDelimitedFrom(InputStream input) static TopicInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TopicInfoparseFrom(byte[] data) static TopicInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TopicInfoparseFrom(com.google.protobuf.ByteString data) static TopicInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TopicInfoparseFrom(com.google.protobuf.CodedInputStream input) static TopicInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TopicInfoparseFrom(InputStream input) static TopicInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TopicInfoparseFrom(ByteBuffer data) static TopicInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TopicInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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
-
TOPIC_NAME_FIELD_NUMBER
public static final int TOPIC_NAME_FIELD_NUMBER- See Also:
-
TENANT_GUID_FIELD_NUMBER
public static final int TENANT_GUID_FIELD_NUMBER- See Also:
-
CAN_PUBLISH_FIELD_NUMBER
public static final int CAN_PUBLISH_FIELD_NUMBER- See Also:
-
CAN_SUBSCRIBE_FIELD_NUMBER
public static final int CAN_SUBSCRIBE_FIELD_NUMBER- See Also:
-
SCHEMA_ID_FIELD_NUMBER
public static final int SCHEMA_ID_FIELD_NUMBER- See Also:
-
RPC_ID_FIELD_NUMBER
public static final int RPC_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTopicName
Topic name
string topic_name = 1;- Specified by:
getTopicNamein interfaceTopicInfoOrBuilder- Returns:
- The topicName.
-
getTopicNameBytes
public com.google.protobuf.ByteString getTopicNameBytes()Topic name
string topic_name = 1;- Specified by:
getTopicNameBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for topicName.
-
getTenantGuid
Tenant/org GUID
string tenant_guid = 2;- Specified by:
getTenantGuidin interfaceTopicInfoOrBuilder- Returns:
- The tenantGuid.
-
getTenantGuidBytes
public com.google.protobuf.ByteString getTenantGuidBytes()Tenant/org GUID
string tenant_guid = 2;- Specified by:
getTenantGuidBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for tenantGuid.
-
getCanPublish
public boolean getCanPublish()Is publishing allowed?
bool can_publish = 3;- Specified by:
getCanPublishin interfaceTopicInfoOrBuilder- Returns:
- The canPublish.
-
getCanSubscribe
public boolean getCanSubscribe()Is subscription allowed?
bool can_subscribe = 4;- Specified by:
getCanSubscribein interfaceTopicInfoOrBuilder- Returns:
- The canSubscribe.
-
getSchemaId
ID of the current topic schema, which can be used for publishing of generically serialized events.
string schema_id = 5;- Specified by:
getSchemaIdin interfaceTopicInfoOrBuilder- Returns:
- The schemaId.
-
getSchemaIdBytes
public com.google.protobuf.ByteString getSchemaIdBytes()ID of the current topic schema, which can be used for publishing of generically serialized events.
string schema_id = 5;- Specified by:
getSchemaIdBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for schemaId.
-
getRpcId
RPC ID used to trace errors.
string rpc_id = 6;- Specified by:
getRpcIdin interfaceTopicInfoOrBuilder- Returns:
- The rpcId.
-
getRpcIdBytes
public com.google.protobuf.ByteString getRpcIdBytes()RPC ID used to trace errors.
string rpc_id = 6;- Specified by:
getRpcIdBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for rpcId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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 TopicInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TopicInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TopicInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TopicInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TopicInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TopicInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TopicInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TopicInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TopicInfo 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TopicInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-