Class ConversionWorkspaceInfo.Builder (2.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConversionWorkspaceInfo build()
Returns
TypeDescription
ConversionWorkspaceInfo

buildPartial()

public ConversionWorkspaceInfo buildPartial()
Returns
TypeDescription
ConversionWorkspaceInfo

clear()

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

clearCommitId()

public ConversionWorkspaceInfo.Builder clearCommitId()

The commit ID of the conversion workspace.

string commit_id = 2;

Returns
TypeDescription
ConversionWorkspaceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ConversionWorkspaceInfo.Builder clearName()

The resource name (URI) of the conversion workspace.

string name = 1;

Returns
TypeDescription
ConversionWorkspaceInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCommitId()

public String getCommitId()

The commit ID of the conversion workspace.

string commit_id = 2;

Returns
TypeDescription
String

The commitId.

getCommitIdBytes()

public ByteString getCommitIdBytes()

The commit ID of the conversion workspace.

string commit_id = 2;

Returns
TypeDescription
ByteString

The bytes for commitId.

getDefaultInstanceForType()

public ConversionWorkspaceInfo getDefaultInstanceForType()
Returns
TypeDescription
ConversionWorkspaceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The resource name (URI) of the conversion workspace.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name (URI) of the conversion workspace.

string name = 1;

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

public ConversionWorkspaceInfo.Builder mergeFrom(ConversionWorkspaceInfo other)
Parameter
NameDescription
otherConversionWorkspaceInfo
Returns
TypeDescription
ConversionWorkspaceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommitId(String value)

public ConversionWorkspaceInfo.Builder setCommitId(String value)

The commit ID of the conversion workspace.

string commit_id = 2;

Parameter
NameDescription
valueString

The commitId to set.

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

The bytes for commitId to set.

Returns
TypeDescription
ConversionWorkspaceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ConversionWorkspaceInfo.Builder setName(String value)

The resource name (URI) of the conversion workspace.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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