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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Space.SpaceDetails.BuilderImplements
Space.SpaceDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Space.SpaceDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
build()
public Space.SpaceDetails build()
Returns | |
---|---|
Type | Description |
Space.SpaceDetails |
buildPartial()
public Space.SpaceDetails buildPartial()
Returns | |
---|---|
Type | Description |
Space.SpaceDetails |
clear()
public Space.SpaceDetails.Builder clear()
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
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 | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Space.SpaceDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
clearGuidelines()
public Space.SpaceDetails.Builder clearGuidelines()
Optional. The space's rules, expectations, and etiquette.
Supports up to 5,000 characters.
string guidelines = 2;
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Space.SpaceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
clone()
public Space.SpaceDetails.Builder clone()
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
getDefaultInstanceForType()
public Space.SpaceDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGuidelines()
public String getGuidelines()
Optional. The space's rules, expectations, and etiquette.
Supports up to 5,000 characters.
string guidelines = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for guidelines. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Space.SpaceDetails other)
public Space.SpaceDetails.Builder mergeFrom(Space.SpaceDetails other)
Parameter | |
---|---|
Name | Description |
other |
Space.SpaceDetails |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Space.SpaceDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Space.SpaceDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Space.SpaceDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
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 | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Space.SpaceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
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 | |
---|---|
Name | Description |
value |
String The guidelines to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for guidelines to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Space.SpaceDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.SpaceDetails.Builder |