public static final class GetAvailabilityRequest.Builder extends GeneratedMessage.Builder<GetAvailabilityRequest.Builder> implements GetAvailabilityRequestOrBuilder Request message for the GetAvailability method.
Protobuf type google.chat.v1.GetAvailabilityRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetAvailabilityRequest.BuilderImplements
GetAvailabilityRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetAvailabilityRequest build()| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest |
|
buildPartial()
public GetAvailabilityRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest |
|
clear()
public GetAvailabilityRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest.Builder |
|
clearName()
public GetAvailabilityRequest.Builder clearName()Required. The resource name of the availability to retrieve.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetAvailabilityRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The resource name of the availability to retrieve.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource name of the availability to retrieve.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
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(GetAvailabilityRequest other)
public GetAvailabilityRequest.Builder mergeFrom(GetAvailabilityRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetAvailabilityRequest |
| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetAvailabilityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetAvailabilityRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest.Builder |
|
setName(String value)
public GetAvailabilityRequest.Builder setName(String value)Required. The resource name of the availability to retrieve.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetAvailabilityRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetAvailabilityRequest.Builder setNameBytes(ByteString value)Required. The resource name of the availability to retrieve.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
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 |
GetAvailabilityRequest.Builder |
This builder for chaining. |