Class CommitConversionWorkspaceRequest.Builder (2.54.0)

public static final class CommitConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<CommitConversionWorkspaceRequest.Builder> implements CommitConversionWorkspaceRequestOrBuilder

Request message for 'CommitConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.CommitConversionWorkspaceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommitConversionWorkspaceRequest build()
Returns
Type Description
CommitConversionWorkspaceRequest

buildPartial()

public CommitConversionWorkspaceRequest buildPartial()
Returns
Type Description
CommitConversionWorkspaceRequest

clear()

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

clearCommitName()

public CommitConversionWorkspaceRequest.Builder clearCommitName()

Optional. Optional name of the commit.

string commit_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CommitConversionWorkspaceRequest.Builder clearName()

Required. Name of the conversion workspace resource to commit.

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

Returns
Type Description
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommitName()

public String getCommitName()

Optional. Optional name of the commit.

string commit_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The commitName.

getCommitNameBytes()

public ByteString getCommitNameBytes()

Optional. Optional name of the commit.

string commit_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for commitName.

getDefaultInstanceForType()

public CommitConversionWorkspaceRequest getDefaultInstanceForType()
Returns
Type Description
CommitConversionWorkspaceRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the conversion workspace resource to commit.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the conversion workspace resource to commit.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommitConversionWorkspaceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommitName(String value)

public CommitConversionWorkspaceRequest.Builder setCommitName(String value)

Optional. Optional name of the commit.

string commit_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The commitName to set.

Returns
Type Description
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

setCommitNameBytes(ByteString value)

public CommitConversionWorkspaceRequest.Builder setCommitNameBytes(ByteString value)

Optional. Optional name of the commit.

string commit_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for commitName to set.

Returns
Type Description
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CommitConversionWorkspaceRequest.Builder setName(String value)

Required. Name of the conversion workspace resource to commit.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CommitConversionWorkspaceRequest.Builder setNameBytes(ByteString value)

Required. Name of the conversion workspace resource to commit.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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