Class Group.Builder (0.15.0)

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

Implements

GroupOrBuilder

Static 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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public Group.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Group.Builder
Overrides

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
Overrides

clone()

public Group.Builder clone()
Returns
Type Description
Group.Builder
Overrides

getDefaultInstanceForType()

public Group getDefaultInstanceForType()
Returns
Type Description
Group

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Group.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Group.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Group.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Group.Builder
Overrides

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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Group.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Group.Builder
Overrides