Class ConversionWorkspaceInfo.Builder (2.53.0)

public static final class ConversionWorkspaceInfo.Builder extends GeneratedMessageV3.Builder<ConversionWorkspaceInfo.Builder> implements ConversionWorkspaceInfoOrBuilder

A conversion workspace's version.

Protobuf type google.cloud.clouddms.v1.ConversionWorkspaceInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConversionWorkspaceInfo build()
Returns
Type Description
ConversionWorkspaceInfo

buildPartial()

public ConversionWorkspaceInfo buildPartial()
Returns
Type Description
ConversionWorkspaceInfo

clear()

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

clearCommitId()

public ConversionWorkspaceInfo.Builder clearCommitId()

The commit ID of the conversion workspace.

string commit_id = 2;

Returns
Type Description
ConversionWorkspaceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ConversionWorkspaceInfo.Builder clearName()

The resource name (URI) of the conversion workspace.

string name = 1;

Returns
Type Description
ConversionWorkspaceInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommitId()

public String getCommitId()

The commit ID of the conversion workspace.

string commit_id = 2;

Returns
Type Description
String

The commitId.

getCommitIdBytes()

public ByteString getCommitIdBytes()

The commit ID of the conversion workspace.

string commit_id = 2;

Returns
Type Description
ByteString

The bytes for commitId.

getDefaultInstanceForType()

public ConversionWorkspaceInfo getDefaultInstanceForType()
Returns
Type Description
ConversionWorkspaceInfo

getDescriptorForType()

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

getName()

public String getName()

The resource name (URI) of the conversion workspace.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name (URI) of the conversion workspace.

string name = 1;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommitId(String value)

public ConversionWorkspaceInfo.Builder setCommitId(String value)

The commit ID of the conversion workspace.

string commit_id = 2;

Parameter
Name Description
value String

The commitId to set.

Returns
Type Description
ConversionWorkspaceInfo.Builder

This builder for chaining.

setCommitIdBytes(ByteString value)

public ConversionWorkspaceInfo.Builder setCommitIdBytes(ByteString value)

The commit ID of the conversion workspace.

string commit_id = 2;

Parameter
Name Description
value ByteString

The bytes for commitId to set.

Returns
Type Description
ConversionWorkspaceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ConversionWorkspaceInfo.Builder setName(String value)

The resource name (URI) of the conversion workspace.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ConversionWorkspaceInfo.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConversionWorkspaceInfo.Builder setNameBytes(ByteString value)

The resource name (URI) of the conversion workspace.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ConversionWorkspaceInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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