Class Space.SpaceDetails.Builder (0.1.0)

public static final class Space.SpaceDetails.Builder extends GeneratedMessageV3.Builder<Space.SpaceDetails.Builder> implements Space.SpaceDetailsOrBuilder

Details about the space including description and rules.

Protobuf type google.chat.v1.Space.SpaceDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Space.SpaceDetails build()
Returns
TypeDescription
Space.SpaceDetails

buildPartial()

public Space.SpaceDetails buildPartial()
Returns
TypeDescription
Space.SpaceDetails

clear()

public Space.SpaceDetails.Builder clear()
Returns
TypeDescription
Space.SpaceDetails.Builder
Overrides

clearDescription()

public Space.SpaceDetails.Builder clearDescription()

Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants.

Supports up to 150 characters.

string description = 1;

Returns
TypeDescription
Space.SpaceDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGuidelines()

public Space.SpaceDetails.Builder clearGuidelines()

Optional. The space's rules, expectations, and etiquette.

Supports up to 5,000 characters.

string guidelines = 2;

Returns
TypeDescription
Space.SpaceDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Space.SpaceDetails.Builder clone()
Returns
TypeDescription
Space.SpaceDetails.Builder
Overrides

getDefaultInstanceForType()

public Space.SpaceDetails getDefaultInstanceForType()
Returns
TypeDescription
Space.SpaceDetails

getDescription()

public String getDescription()

Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants.

Supports up to 150 characters.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants.

Supports up to 150 characters.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGuidelines()

public String getGuidelines()

Optional. The space's rules, expectations, and etiquette.

Supports up to 5,000 characters.

string guidelines = 2;

Returns
TypeDescription
String

The guidelines.

getGuidelinesBytes()

public ByteString getGuidelinesBytes()

Optional. The space's rules, expectations, and etiquette.

Supports up to 5,000 characters.

string guidelines = 2;

Returns
TypeDescription
ByteString

The bytes for guidelines.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Space.SpaceDetails other)

public Space.SpaceDetails.Builder mergeFrom(Space.SpaceDetails other)
Parameter
NameDescription
otherSpace.SpaceDetails
Returns
TypeDescription
Space.SpaceDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDescription(String value)

public Space.SpaceDetails.Builder setDescription(String value)

Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants.

Supports up to 150 characters.

string description = 1;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Space.SpaceDetails.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Space.SpaceDetails.Builder setDescriptionBytes(ByteString value)

Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants.

Supports up to 150 characters.

string description = 1;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Space.SpaceDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGuidelines(String value)

public Space.SpaceDetails.Builder setGuidelines(String value)

Optional. The space's rules, expectations, and etiquette.

Supports up to 5,000 characters.

string guidelines = 2;

Parameter
NameDescription
valueString

The guidelines to set.

Returns
TypeDescription
Space.SpaceDetails.Builder

This builder for chaining.

setGuidelinesBytes(ByteString value)

public Space.SpaceDetails.Builder setGuidelinesBytes(ByteString value)

Optional. The space's rules, expectations, and etiquette.

Supports up to 5,000 characters.

string guidelines = 2;

Parameter
NameDescription
valueByteString

The bytes for guidelines to set.

Returns
TypeDescription
Space.SpaceDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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