Class Group.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Group build()
Returns
TypeDescription
Group

buildPartial()

public Group buildPartial()
Returns
TypeDescription
Group

clear()

public Group.Builder clear()
Returns
TypeDescription
Group.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Group.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Group.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Group.Builder clone()
Returns
TypeDescription
Group.Builder
Overrides

getDefaultInstanceForType()

public Group getDefaultInstanceForType()
Returns
TypeDescription
Group

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Group other)

public Group.Builder mergeFrom(Group other)
Parameter
NameDescription
otherGroup
Returns
TypeDescription
Group.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Group.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Group.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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