Class Space.Builder (0.22.0)

public static final class Space.Builder extends GeneratedMessageV3.Builder<Space.Builder> implements SpaceOrBuilder

Virtual place where conferences are held. Only one active conference can be held in one space at any given time.

Protobuf type google.apps.meet.v2.Space

Implements

SpaceOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Space.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Space.Builder
Overrides

build()

public Space build()
Returns
Type Description
Space

buildPartial()

public Space buildPartial()
Returns
Type Description
Space

clear()

public Space.Builder clear()
Returns
Type Description
Space.Builder
Overrides

clearActiveConference()

public Space.Builder clearActiveConference()

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Returns
Type Description
Space.Builder

clearConfig()

public Space.Builder clearConfig()

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Returns
Type Description
Space.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMeetingCode()

public Space.Builder clearMeetingCode()

Output only. Type friendly code to join the meeting. Format: [a-z]+-[a-z]+-[a-z]+ such as abc-mnop-xyz. The maximum length is 128 characters. Can only be used as an alias of the space ID to get the space.

string meeting_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Space.Builder

This builder for chaining.

clearMeetingUri()

public Space.Builder clearMeetingUri()

Output only. URI used to join meetings, such as https://meet.google.com/abc-mnop-xyz.

string meeting_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Space.Builder

This builder for chaining.

clearName()

public Space.Builder clearName()

Immutable. Resource name of the space. Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Space.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Space.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Space.Builder
Overrides

clone()

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

getActiveConference()

public ActiveConference getActiveConference()

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Returns
Type Description
ActiveConference

The activeConference.

getActiveConferenceBuilder()

public ActiveConference.Builder getActiveConferenceBuilder()

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Returns
Type Description
ActiveConference.Builder

getActiveConferenceOrBuilder()

public ActiveConferenceOrBuilder getActiveConferenceOrBuilder()

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Returns
Type Description
ActiveConferenceOrBuilder

getConfig()

public SpaceConfig getConfig()

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Returns
Type Description
SpaceConfig

The config.

getConfigBuilder()

public SpaceConfig.Builder getConfigBuilder()

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Returns
Type Description
SpaceConfig.Builder

getConfigOrBuilder()

public SpaceConfigOrBuilder getConfigOrBuilder()

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Returns
Type Description
SpaceConfigOrBuilder

getDefaultInstanceForType()

public Space getDefaultInstanceForType()
Returns
Type Description
Space

getDescriptorForType()

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

getMeetingCode()

public String getMeetingCode()

Output only. Type friendly code to join the meeting. Format: [a-z]+-[a-z]+-[a-z]+ such as abc-mnop-xyz. The maximum length is 128 characters. Can only be used as an alias of the space ID to get the space.

string meeting_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The meetingCode.

getMeetingCodeBytes()

public ByteString getMeetingCodeBytes()

Output only. Type friendly code to join the meeting. Format: [a-z]+-[a-z]+-[a-z]+ such as abc-mnop-xyz. The maximum length is 128 characters. Can only be used as an alias of the space ID to get the space.

string meeting_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for meetingCode.

getMeetingUri()

public String getMeetingUri()

Output only. URI used to join meetings, such as https://meet.google.com/abc-mnop-xyz.

string meeting_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The meetingUri.

getMeetingUriBytes()

public ByteString getMeetingUriBytes()

Output only. URI used to join meetings, such as https://meet.google.com/abc-mnop-xyz.

string meeting_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for meetingUri.

getName()

public String getName()

Immutable. Resource name of the space. Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. Resource name of the space. Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

hasActiveConference()

public boolean hasActiveConference()

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Returns
Type Description
boolean

Whether the activeConference field is set.

hasConfig()

public boolean hasConfig()

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Returns
Type Description
boolean

Whether the config field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActiveConference(ActiveConference value)

public Space.Builder mergeActiveConference(ActiveConference value)

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Parameter
Name Description
value ActiveConference
Returns
Type Description
Space.Builder

mergeConfig(SpaceConfig value)

public Space.Builder mergeConfig(SpaceConfig value)

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Parameter
Name Description
value SpaceConfig
Returns
Type Description
Space.Builder

mergeFrom(Space other)

public Space.Builder mergeFrom(Space other)
Parameter
Name Description
other Space
Returns
Type Description
Space.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Space.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActiveConference(ActiveConference value)

public Space.Builder setActiveConference(ActiveConference value)

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Parameter
Name Description
value ActiveConference
Returns
Type Description
Space.Builder

setActiveConference(ActiveConference.Builder builderForValue)

public Space.Builder setActiveConference(ActiveConference.Builder builderForValue)

Active conference, if it exists.

.google.apps.meet.v2.ActiveConference active_conference = 6;

Parameter
Name Description
builderForValue ActiveConference.Builder
Returns
Type Description
Space.Builder

setConfig(SpaceConfig value)

public Space.Builder setConfig(SpaceConfig value)

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Parameter
Name Description
value SpaceConfig
Returns
Type Description
Space.Builder

setConfig(SpaceConfig.Builder builderForValue)

public Space.Builder setConfig(SpaceConfig.Builder builderForValue)

Configuration pertaining to the meeting space.

.google.apps.meet.v2.SpaceConfig config = 5;

Parameter
Name Description
builderForValue SpaceConfig.Builder
Returns
Type Description
Space.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Space.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Space.Builder
Overrides

setMeetingCode(String value)

public Space.Builder setMeetingCode(String value)

Output only. Type friendly code to join the meeting. Format: [a-z]+-[a-z]+-[a-z]+ such as abc-mnop-xyz. The maximum length is 128 characters. Can only be used as an alias of the space ID to get the space.

string meeting_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The meetingCode to set.

Returns
Type Description
Space.Builder

This builder for chaining.

setMeetingCodeBytes(ByteString value)

public Space.Builder setMeetingCodeBytes(ByteString value)

Output only. Type friendly code to join the meeting. Format: [a-z]+-[a-z]+-[a-z]+ such as abc-mnop-xyz. The maximum length is 128 characters. Can only be used as an alias of the space ID to get the space.

string meeting_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for meetingCode to set.

Returns
Type Description
Space.Builder

This builder for chaining.

setMeetingUri(String value)

public Space.Builder setMeetingUri(String value)

Output only. URI used to join meetings, such as https://meet.google.com/abc-mnop-xyz.

string meeting_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The meetingUri to set.

Returns
Type Description
Space.Builder

This builder for chaining.

setMeetingUriBytes(ByteString value)

public Space.Builder setMeetingUriBytes(ByteString value)

Output only. URI used to join meetings, such as https://meet.google.com/abc-mnop-xyz.

string meeting_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for meetingUri to set.

Returns
Type Description
Space.Builder

This builder for chaining.

setName(String value)

public Space.Builder setName(String value)

Immutable. Resource name of the space. Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Space.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Space.Builder setNameBytes(ByteString value)

Immutable. Resource name of the space. Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Space.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Space.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Space.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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