Class ListConversionWorkspacesResponse.Builder (2.43.0)

public static final class ListConversionWorkspacesResponse.Builder extends GeneratedMessageV3.Builder<ListConversionWorkspacesResponse.Builder> implements ListConversionWorkspacesResponseOrBuilder

Response message for 'ListConversionWorkspaces' request.

Protobuf type google.cloud.clouddms.v1.ListConversionWorkspacesResponse

Static Methods

getDescriptor()

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

Methods

addAllConversionWorkspaces(Iterable<? extends ConversionWorkspace> values)

public ListConversionWorkspacesResponse.Builder addAllConversionWorkspaces(Iterable<? extends ConversionWorkspace> values)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.clouddms.v1.ConversionWorkspace>
Returns
Type Description
ListConversionWorkspacesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListConversionWorkspacesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

addConversionWorkspaces(ConversionWorkspace value)

public ListConversionWorkspacesResponse.Builder addConversionWorkspaces(ConversionWorkspace value)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
value ConversionWorkspace
Returns
Type Description
ListConversionWorkspacesResponse.Builder

addConversionWorkspaces(ConversionWorkspace.Builder builderForValue)

public ListConversionWorkspacesResponse.Builder addConversionWorkspaces(ConversionWorkspace.Builder builderForValue)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
builderForValue ConversionWorkspace.Builder
Returns
Type Description
ListConversionWorkspacesResponse.Builder

addConversionWorkspaces(int index, ConversionWorkspace value)

public ListConversionWorkspacesResponse.Builder addConversionWorkspaces(int index, ConversionWorkspace value)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameters
Name Description
index int
value ConversionWorkspace
Returns
Type Description
ListConversionWorkspacesResponse.Builder

addConversionWorkspaces(int index, ConversionWorkspace.Builder builderForValue)

public ListConversionWorkspacesResponse.Builder addConversionWorkspaces(int index, ConversionWorkspace.Builder builderForValue)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameters
Name Description
index int
builderForValue ConversionWorkspace.Builder
Returns
Type Description
ListConversionWorkspacesResponse.Builder

addConversionWorkspacesBuilder()

public ConversionWorkspace.Builder addConversionWorkspacesBuilder()

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Returns
Type Description
ConversionWorkspace.Builder

addConversionWorkspacesBuilder(int index)

public ConversionWorkspace.Builder addConversionWorkspacesBuilder(int index)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionWorkspace.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListConversionWorkspacesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListConversionWorkspacesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

build()

public ListConversionWorkspacesResponse build()
Returns
Type Description
ListConversionWorkspacesResponse

buildPartial()

public ListConversionWorkspacesResponse buildPartial()
Returns
Type Description
ListConversionWorkspacesResponse

clear()

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

clearConversionWorkspaces()

public ListConversionWorkspacesResponse.Builder clearConversionWorkspaces()

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Returns
Type Description
ListConversionWorkspacesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListConversionWorkspacesResponse.Builder clearNextPageToken()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListConversionWorkspacesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

clone()

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

getConversionWorkspaces(int index)

public ConversionWorkspace getConversionWorkspaces(int index)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionWorkspace

getConversionWorkspacesBuilder(int index)

public ConversionWorkspace.Builder getConversionWorkspacesBuilder(int index)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionWorkspace.Builder

getConversionWorkspacesBuilderList()

public List<ConversionWorkspace.Builder> getConversionWorkspacesBuilderList()

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Returns
Type Description
List<Builder>

getConversionWorkspacesCount()

public int getConversionWorkspacesCount()

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Returns
Type Description
int

getConversionWorkspacesList()

public List<ConversionWorkspace> getConversionWorkspacesList()

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Returns
Type Description
List<ConversionWorkspace>

getConversionWorkspacesOrBuilder(int index)

public ConversionWorkspaceOrBuilder getConversionWorkspacesOrBuilder(int index)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionWorkspaceOrBuilder

getConversionWorkspacesOrBuilderList()

public List<? extends ConversionWorkspaceOrBuilder> getConversionWorkspacesOrBuilderList()

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Returns
Type Description
List<? extends com.google.cloud.clouddms.v1.ConversionWorkspaceOrBuilder>

getDefaultInstanceForType()

public ListConversionWorkspacesResponse getDefaultInstanceForType()
Returns
Type Description
ListConversionWorkspacesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConversionWorkspacesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeConversionWorkspaces(int index)

public ListConversionWorkspacesResponse.Builder removeConversionWorkspaces(int index)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConversionWorkspacesResponse.Builder

setConversionWorkspaces(int index, ConversionWorkspace value)

public ListConversionWorkspacesResponse.Builder setConversionWorkspaces(int index, ConversionWorkspace value)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameters
Name Description
index int
value ConversionWorkspace
Returns
Type Description
ListConversionWorkspacesResponse.Builder

setConversionWorkspaces(int index, ConversionWorkspace.Builder builderForValue)

public ListConversionWorkspacesResponse.Builder setConversionWorkspaces(int index, ConversionWorkspace.Builder builderForValue)

The list of conversion workspace objects.

repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1;

Parameters
Name Description
index int
builderForValue ConversionWorkspace.Builder
Returns
Type Description
ListConversionWorkspacesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListConversionWorkspacesResponse.Builder setNextPageToken(String value)

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConversionWorkspacesResponse.Builder setNextPageTokenBytes(ByteString value)

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListConversionWorkspacesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListConversionWorkspacesResponse.Builder

This builder for chaining.