Class GetSpaceRequest.Builder (0.3.0)

public static final class GetSpaceRequest.Builder extends GeneratedMessageV3.Builder<GetSpaceRequest.Builder> implements GetSpaceRequestOrBuilder

A request to return a single space.

Protobuf type google.chat.v1.GetSpaceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetSpaceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

build()

public GetSpaceRequest build()
Returns
TypeDescription
GetSpaceRequest

buildPartial()

public GetSpaceRequest buildPartial()
Returns
TypeDescription
GetSpaceRequest

clear()

public GetSpaceRequest.Builder clear()
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetSpaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

clearName()

public GetSpaceRequest.Builder clearName()

Required. Resource name of the space, in the form "spaces/*".

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetSpaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetSpaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

clone()

public GetSpaceRequest.Builder clone()
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

getDefaultInstanceForType()

public GetSpaceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetSpaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the space, in the form "spaces/*".

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the space, in the form "spaces/*".

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetSpaceRequest other)

public GetSpaceRequest.Builder mergeFrom(GetSpaceRequest other)
Parameter
NameDescription
otherGetSpaceRequest
Returns
TypeDescription
GetSpaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetSpaceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetSpaceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetSpaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetSpaceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

setName(String value)

public GetSpaceRequest.Builder setName(String value)

Required. Resource name of the space, in the form "spaces/*".

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetSpaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetSpaceRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the space, in the form "spaces/*".

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetSpaceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetSpaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetSpaceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetSpaceRequest.Builder
Overrides