Class ListConversionWorkspacesResponse.Builder (2.19.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.clouddms.v1.ConversionWorkspace>
Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueConversionWorkspace
Returns
TypeDescription
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
NameDescription
builderForValueConversionWorkspace.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConversionWorkspace
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversionWorkspace.Builder
Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

addConversionWorkspacesBuilder()

public ConversionWorkspace.Builder addConversionWorkspacesBuilder()

The list of conversion workspace objects.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversionWorkspace.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListConversionWorkspacesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

This builder for chaining.

build()

public ListConversionWorkspacesResponse build()
Returns
TypeDescription
ListConversionWorkspacesResponse

buildPartial()

public ListConversionWorkspacesResponse buildPartial()
Returns
TypeDescription
ListConversionWorkspacesResponse

clear()

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

clearConversionWorkspaces()

public ListConversionWorkspacesResponse.Builder clearConversionWorkspaces()

The list of conversion workspace objects.

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

Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListConversionWorkspacesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

This builder for chaining.

clone()

public ListConversionWorkspacesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversionWorkspace.Builder

getConversionWorkspacesBuilderList()

public List<ConversionWorkspace.Builder> getConversionWorkspacesBuilderList()

The list of conversion workspace objects.

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

Returns
TypeDescription
List<Builder>

getConversionWorkspacesCount()

public int getConversionWorkspacesCount()

The list of conversion workspace objects.

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

Returns
TypeDescription
int

getConversionWorkspacesList()

public List<ConversionWorkspace> getConversionWorkspacesList()

The list of conversion workspace objects.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversionWorkspaceOrBuilder

getConversionWorkspacesOrBuilderList()

public List<? extends ConversionWorkspaceOrBuilder> getConversionWorkspacesOrBuilderList()

The list of conversion workspace objects.

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

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

getDefaultInstanceForType()

public ListConversionWorkspacesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConversionWorkspacesResponse

getDescriptorForType()

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

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConversionWorkspacesResponse other)

public ListConversionWorkspacesResponse.Builder mergeFrom(ListConversionWorkspacesResponse other)
Parameter
NameDescription
otherListConversionWorkspacesResponse
Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversionWorkspacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConversionWorkspace
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversionWorkspace.Builder
Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConversionWorkspacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListConversionWorkspacesResponse.Builder

This builder for chaining.