Class CommitConversionWorkspaceRequest.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommitConversionWorkspaceRequest build()
Returns
TypeDescription
CommitConversionWorkspaceRequest

buildPartial()

public CommitConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
CommitConversionWorkspaceRequest

clear()

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

clearCommitName()

public CommitConversionWorkspaceRequest.Builder clearCommitName()

Optional. Optional name of the commit.

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

Returns
TypeDescription
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommitName()

public String getCommitName()

Optional. Optional name of the commit.

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

Returns
TypeDescription
String

The commitName.

getCommitNameBytes()

public ByteString getCommitNameBytes()

Optional. Optional name of the commit.

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

Returns
TypeDescription
ByteString

The bytes for commitName.

getDefaultInstanceForType()

public CommitConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
CommitConversionWorkspaceRequest

getDescriptorForType()

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

public CommitConversionWorkspaceRequest.Builder mergeFrom(CommitConversionWorkspaceRequest other)
Parameter
NameDescription
otherCommitConversionWorkspaceRequest
Returns
TypeDescription
CommitConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The commitName to set.

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

The bytes for commitName to set.

Returns
TypeDescription
CommitConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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