public static final class ChatSpaceLinkData.Builder extends GeneratedMessage.Builder<ChatSpaceLinkData.Builder> implements ChatSpaceLinkDataOrBuilderData for Chat space links.
Protobuf type google.chat.v1.ChatSpaceLinkData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChatSpaceLinkData.BuilderImplements
ChatSpaceLinkDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ChatSpaceLinkData build()| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData |
|
buildPartial()
public ChatSpaceLinkData buildPartial()| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData |
|
clear()
public ChatSpaceLinkData.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
|
clearMessage()
public ChatSpaceLinkData.Builder clearMessage()The message of the linked Chat space resource.
Format: spaces/{space}/messages/{message}
string message = 3 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
clearSpace()
public ChatSpaceLinkData.Builder clearSpace()The space of the linked Chat space resource.
Format: spaces/{space}
string space = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
clearThread()
public ChatSpaceLinkData.Builder clearThread()The thread of the linked Chat space resource.
Format: spaces/{space}/threads/{thread}
string thread = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ChatSpaceLinkData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()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()
public ByteString getMessageBytes()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. |
getSpace()
public String getSpace()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()
public ByteString getSpaceBytes()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()
public String getThread()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()
public ByteString getThreadBytes()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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ChatSpaceLinkData other)
public ChatSpaceLinkData.Builder mergeFrom(ChatSpaceLinkData other)| Parameter | |
|---|---|
| Name | Description |
other |
ChatSpaceLinkData |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChatSpaceLinkData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChatSpaceLinkData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
|
setMessage(String value)
public ChatSpaceLinkData.Builder setMessage(String value)The message of the linked Chat space resource.
Format: spaces/{space}/messages/{message}
string message = 3 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public ChatSpaceLinkData.Builder setMessageBytes(ByteString value)The message of the linked Chat space resource.
Format: spaces/{space}/messages/{message}
string message = 3 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
setSpace(String value)
public ChatSpaceLinkData.Builder setSpace(String value)The space of the linked Chat space resource.
Format: spaces/{space}
string space = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe space to set. |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
setSpaceBytes(ByteString value)
public ChatSpaceLinkData.Builder setSpaceBytes(ByteString value)The space of the linked Chat space resource.
Format: spaces/{space}
string space = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for space to set. |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
setThread(String value)
public ChatSpaceLinkData.Builder setThread(String value)The thread of the linked Chat space resource.
Format: spaces/{space}/threads/{thread}
string thread = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe thread to set. |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |
setThreadBytes(ByteString value)
public ChatSpaceLinkData.Builder setThreadBytes(ByteString value)The thread of the linked Chat space resource.
Format: spaces/{space}/threads/{thread}
string thread = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for thread to set. |
| Returns | |
|---|---|
| Type | Description |
ChatSpaceLinkData.Builder |
This builder for chaining. |