public static final class GetSpaceReadStateRequest.Builder extends GeneratedMessage.Builder<GetSpaceReadStateRequest.Builder> implements GetSpaceReadStateRequestOrBuilderRequest message for GetSpaceReadState API.
Protobuf type google.chat.v1.GetSpaceReadStateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetSpaceReadStateRequest.BuilderImplements
GetSpaceReadStateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetSpaceReadStateRequest build()| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest |
|
buildPartial()
public GetSpaceReadStateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest |
|
clear()
public GetSpaceReadStateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
|
clearName()
public GetSpaceReadStateRequest.Builder clearName()Required. Resource name of the space read state to retrieve.
Only supports getting read state for the calling user.
To refer to the calling user, set one of the following:
The
mealias. For example,users/me/spaces/{space}/spaceReadState.Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState.Their user id. For example,
users/123456789/spaces/{space}/spaceReadState.Format: users/{user}/spaces/{space}/spaceReadState
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetSpaceReadStateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Resource name of the space read state to retrieve.
Only supports getting read state for the calling user.
To refer to the calling user, set one of the following:
The
mealias. For example,users/me/spaces/{space}/spaceReadState.Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState.Their user id. For example,
users/123456789/spaces/{space}/spaceReadState.Format: users/{user}/spaces/{space}/spaceReadState
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Resource name of the space read state to retrieve.
Only supports getting read state for the calling user.
To refer to the calling user, set one of the following:
The
mealias. For example,users/me/spaces/{space}/spaceReadState.Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState.Their user id. For example,
users/123456789/spaces/{space}/spaceReadState.Format: users/{user}/spaces/{space}/spaceReadState
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetSpaceReadStateRequest other)
public GetSpaceReadStateRequest.Builder mergeFrom(GetSpaceReadStateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetSpaceReadStateRequest |
| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetSpaceReadStateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetSpaceReadStateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
|
setName(String value)
public GetSpaceReadStateRequest.Builder setName(String value)Required. Resource name of the space read state to retrieve.
Only supports getting read state for the calling user.
To refer to the calling user, set one of the following:
The
mealias. For example,users/me/spaces/{space}/spaceReadState.Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState.Their user id. For example,
users/123456789/spaces/{space}/spaceReadState.Format: users/{user}/spaces/{space}/spaceReadState
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetSpaceReadStateRequest.Builder setNameBytes(ByteString value)Required. Resource name of the space read state to retrieve.
Only supports getting read state for the calling user.
To refer to the calling user, set one of the following:
The
mealias. For example,users/me/spaces/{space}/spaceReadState.Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState.Their user id. For example,
users/123456789/spaces/{space}/spaceReadState.Format: users/{user}/spaces/{space}/spaceReadState
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetSpaceReadStateRequest.Builder |
This builder for chaining. |