Class CompleteImportSpaceRequest.Builder (0.5.0)

public static final class CompleteImportSpaceRequest.Builder extends GeneratedMessageV3.Builder<CompleteImportSpaceRequest.Builder> implements CompleteImportSpaceRequestOrBuilder

Request message for completing the import process for a space.

Protobuf type google.chat.v1.CompleteImportSpaceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompleteImportSpaceRequest build()
Returns
TypeDescription
CompleteImportSpaceRequest

buildPartial()

public CompleteImportSpaceRequest buildPartial()
Returns
TypeDescription
CompleteImportSpaceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CompleteImportSpaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompleteImportSpaceRequest.Builder
Overrides

clearName()

public CompleteImportSpaceRequest.Builder clearName()

Required. Resource name of the import mode space.

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CompleteImportSpaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CompleteImportSpaceRequest getDefaultInstanceForType()
Returns
TypeDescription
CompleteImportSpaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the import mode space.

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the import mode space.

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

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(CompleteImportSpaceRequest other)

public CompleteImportSpaceRequest.Builder mergeFrom(CompleteImportSpaceRequest other)
Parameter
NameDescription
otherCompleteImportSpaceRequest
Returns
TypeDescription
CompleteImportSpaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CompleteImportSpaceRequest.Builder setName(String value)

Required. Resource name of the import mode space.

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CompleteImportSpaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CompleteImportSpaceRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the import mode space.

Format: spaces/{space}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CompleteImportSpaceRequest.Builder

This builder for chaining.

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

public CompleteImportSpaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CompleteImportSpaceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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