Class Group.Builder (0.49.0)

public static final class Group.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.