public static final class Group.Builder extends GeneratedMessageV3.Builder<Group.Builder> implements GroupOrBuilder
A Google Group in Google Chat.
Protobuf type google.chat.v1.Group
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Group.BuilderImplements
GroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Group.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Group.Builder |
build()
public Group build()
Returns | |
---|---|
Type | Description |
Group |
buildPartial()
public Group buildPartial()
Returns | |
---|---|
Type | Description |
Group |
clear()
public Group.Builder clear()
Returns | |
---|---|
Type | Description |
Group.Builder |
clearField(Descriptors.FieldDescriptor field)
public Group.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Group.Builder |
clearName()
public Group.Builder clearName()
Resource name for a Google Group.
Represents a group in Cloud Identity Groups API.
Format: groups/{group}
string name = 1;
Returns | |
---|---|
Type | Description |
Group.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Group.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Group.Builder |
clone()
public Group.Builder clone()
Returns | |
---|---|
Type | Description |
Group.Builder |
getDefaultInstanceForType()
public Group getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Group |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Resource name for a Google Group.
Represents a group in Cloud Identity Groups API.
Format: groups/{group}
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Resource name for a Google Group.
Represents a group in Cloud Identity Groups API.
Format: groups/{group}
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Group other)
public Group.Builder mergeFrom(Group other)
Parameter | |
---|---|
Name | Description |
other | Group |
Returns | |
---|---|
Type | Description |
Group.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Group.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Group.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Group.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Group.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Group.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Group.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Group.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Group.Builder |
setName(String value)
public Group.Builder setName(String value)
Resource name for a Google Group.
Represents a group in Cloud Identity Groups API.
Format: groups/{group}
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Group.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Group.Builder setNameBytes(ByteString value)
Resource name for a Google Group.
Represents a group in Cloud Identity Groups API.
Format: groups/{group}
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Group.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Group.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Group.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Group.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Group.Builder |