publicfinalclass CreateSpaceRequestextendsGeneratedMessageV3implementsCreateSpaceRequestOrBuilder
A request to create a named space with no members.
Protobuf type google.chat.v1.CreateSpaceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
REQUEST_ID_FIELD_NUMBER
publicstaticfinalintREQUEST_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SPACE_FIELD_NUMBER
publicstaticfinalintSPACE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCreateSpaceRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCreateSpaceRequest.BuildernewBuilder()
newBuilder(CreateSpaceRequest prototype)
publicstaticCreateSpaceRequest.BuildernewBuilder(CreateSpaceRequestprototype)
publicstaticCreateSpaceRequestparseDelimitedFrom(InputStreaminput)
publicstaticCreateSpaceRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCreateSpaceRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateSpaceRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCreateSpaceRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateSpaceRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateSpaceRequestparseFrom(CodedInputStreaminput)
publicstaticCreateSpaceRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateSpaceRequestparseFrom(InputStreaminput)
publicstaticCreateSpaceRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCreateSpaceRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateSpaceRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CreateSpaceRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicCreateSpaceRequestgetDefaultInstanceForType()
getParserForType()
publicParser<CreateSpaceRequest>getParserForType()
Overrides
getRequestId()
publicStringgetRequestId()
Optional. A unique identifier for this request.
A random UUID is recommended.
Specifying an existing request ID returns the space created with that ID
instead of creating a new space.
Specifying an existing request ID from the same Chat app with a different
authenticated user returns an error.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The requestId.
|
getRequestIdBytes()
publicByteStringgetRequestIdBytes()
Optional. A unique identifier for this request.
A random UUID is recommended.
Specifying an existing request ID returns the space created with that ID
instead of creating a new space.
Specifying an existing request ID from the same Chat app with a different
authenticated user returns an error.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for requestId.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getSpace()
Required. The displayName and spaceType fields must be populated. Only
SpaceType.SPACE and SpaceType.GROUP_CHAT are supported.
SpaceType.GROUP_CHAT can only be used if importMode is set to true.
If you receive the error message ALREADY_EXISTS,
try a different displayName. An existing space within the Google
Workspace organization might already use this display name.
The space name is assigned on the server so anything specified in this
field will be ignored.
.google.chat.v1.Space space = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Space |
The space.
|
getSpaceOrBuilder()
publicSpaceOrBuildergetSpaceOrBuilder()
Required. The displayName and spaceType fields must be populated. Only
SpaceType.SPACE and SpaceType.GROUP_CHAT are supported.
SpaceType.GROUP_CHAT can only be used if importMode is set to true.
If you receive the error message ALREADY_EXISTS,
try a different displayName. An existing space within the Google
Workspace organization might already use this display name.
The space name is assigned on the server so anything specified in this
field will be ignored.
.google.chat.v1.Space space = 1 [(.google.api.field_behavior) = REQUIRED];
hasSpace()
Required. The displayName and spaceType fields must be populated. Only
SpaceType.SPACE and SpaceType.GROUP_CHAT are supported.
SpaceType.GROUP_CHAT can only be used if importMode is set to true.
If you receive the error message ALREADY_EXISTS,
try a different displayName. An existing space within the Google
Workspace organization might already use this display name.
The space name is assigned on the server so anything specified in this
field will be ignored.
.google.chat.v1.Space space = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the space field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCreateSpaceRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCreateSpaceRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCreateSpaceRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides