Class ChatSpaceLinkData (0.36.0)

publicfinalclass ChatSpaceLinkDataextendsGeneratedMessageV3implementsChatSpaceLinkDataOrBuilder

Data for Chat space links.

Protobuf type google.chat.v1.ChatSpaceLinkData

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

MESSAGE_FIELD_NUMBER

publicstaticfinalintMESSAGE_FIELD_NUMBER
Field Value
Type Description
int

SPACE_FIELD_NUMBER

publicstaticfinalintSPACE_FIELD_NUMBER
Field Value
Type Description
int

THREAD_FIELD_NUMBER

publicstaticfinalintTHREAD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticChatSpaceLinkDatagetDefaultInstance()
Returns
Type Description
ChatSpaceLinkData

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticChatSpaceLinkData.BuildernewBuilder()
Returns
Type Description
ChatSpaceLinkData.Builder

newBuilder(ChatSpaceLinkData prototype)

publicstaticChatSpaceLinkData.BuildernewBuilder(ChatSpaceLinkDataprototype)
Parameter
Name Description
prototype ChatSpaceLinkData
Returns
Type Description
ChatSpaceLinkData.Builder

parseDelimitedFrom(InputStream input)

publicstaticChatSpaceLinkDataparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticChatSpaceLinkDataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticChatSpaceLinkDataparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticChatSpaceLinkDataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticChatSpaceLinkDataparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticChatSpaceLinkDataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticChatSpaceLinkDataparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticChatSpaceLinkDataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticChatSpaceLinkDataparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticChatSpaceLinkDataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticChatSpaceLinkDataparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticChatSpaceLinkDataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatSpaceLinkData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ChatSpaceLinkData>parser()
Returns
Type Description
Parser<ChatSpaceLinkData>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicChatSpaceLinkDatagetDefaultInstanceForType()
Returns
Type Description
ChatSpaceLinkData

getMessage()

publicStringgetMessage()

The message of the linked Chat space resource.

Format: spaces/{space}/messages/{message}

string message = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The message.

getMessageBytes()

publicByteStringgetMessageBytes()

The message of the linked Chat space resource.

Format: spaces/{space}/messages/{message}

string message = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

publicParser<ChatSpaceLinkData>getParserForType()
Returns
Type Description
Parser<ChatSpaceLinkData>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSpace()

publicStringgetSpace()

The space of the linked Chat space resource.

Format: spaces/{space}

string space = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The space.

getSpaceBytes()

publicByteStringgetSpaceBytes()

The space of the linked Chat space resource.

Format: spaces/{space}

string space = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for space.

getThread()

publicStringgetThread()

The thread of the linked Chat space resource.

Format: spaces/{space}/threads/{thread}

string thread = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The thread.

getThreadBytes()

publicByteStringgetThreadBytes()

The thread of the linked Chat space resource.

Format: spaces/{space}/threads/{thread}

string thread = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for thread.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicChatSpaceLinkData.BuildernewBuilderForType()
Returns
Type Description
ChatSpaceLinkData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedChatSpaceLinkData.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChatSpaceLinkData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicChatSpaceLinkData.BuildertoBuilder()
Returns
Type Description
ChatSpaceLinkData.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.