Class ListMappingRulesResponse.Builder (2.54.0)

public static final class ListMappingRulesResponse.Builder extends GeneratedMessageV3.Builder<ListMappingRulesResponse.Builder> implements ListMappingRulesResponseOrBuilder

Response message for 'ListMappingRulesRequest' request.

Protobuf type google.cloud.clouddms.v1.ListMappingRulesResponse

Static Methods

getDescriptor()

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

Methods

addAllMappingRules(Iterable<? extends MappingRule> values)

public ListMappingRulesResponse.Builder addAllMappingRules(Iterable<? extends MappingRule> values)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

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

addMappingRules(MappingRule value)

public ListMappingRulesResponse.Builder addMappingRules(MappingRule value)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
value MappingRule
Returns
Type Description
ListMappingRulesResponse.Builder

addMappingRules(MappingRule.Builder builderForValue)

public ListMappingRulesResponse.Builder addMappingRules(MappingRule.Builder builderForValue)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
builderForValue MappingRule.Builder
Returns
Type Description
ListMappingRulesResponse.Builder

addMappingRules(int index, MappingRule value)

public ListMappingRulesResponse.Builder addMappingRules(int index, MappingRule value)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameters
Name Description
index int
value MappingRule
Returns
Type Description
ListMappingRulesResponse.Builder

addMappingRules(int index, MappingRule.Builder builderForValue)

public ListMappingRulesResponse.Builder addMappingRules(int index, MappingRule.Builder builderForValue)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameters
Name Description
index int
builderForValue MappingRule.Builder
Returns
Type Description
ListMappingRulesResponse.Builder

addMappingRulesBuilder()

public MappingRule.Builder addMappingRulesBuilder()

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Returns
Type Description
MappingRule.Builder

addMappingRulesBuilder(int index)

public MappingRule.Builder addMappingRulesBuilder(int index)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
MappingRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMappingRulesResponse build()
Returns
Type Description
ListMappingRulesResponse

buildPartial()

public ListMappingRulesResponse buildPartial()
Returns
Type Description
ListMappingRulesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMappingRules()

public ListMappingRulesResponse.Builder clearMappingRules()

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Returns
Type Description
ListMappingRulesResponse.Builder

clearNextPageToken()

public ListMappingRulesResponse.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
ListMappingRulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMappingRulesResponse getDefaultInstanceForType()
Returns
Type Description
ListMappingRulesResponse

getDescriptorForType()

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

getMappingRules(int index)

public MappingRule getMappingRules(int index)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
MappingRule

getMappingRulesBuilder(int index)

public MappingRule.Builder getMappingRulesBuilder(int index)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
MappingRule.Builder

getMappingRulesBuilderList()

public List<MappingRule.Builder> getMappingRulesBuilderList()

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Returns
Type Description
List<Builder>

getMappingRulesCount()

public int getMappingRulesCount()

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Returns
Type Description
int

getMappingRulesList()

public List<MappingRule> getMappingRulesList()

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Returns
Type Description
List<MappingRule>

getMappingRulesOrBuilder(int index)

public MappingRuleOrBuilder getMappingRulesOrBuilder(int index)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
MappingRuleOrBuilder

getMappingRulesOrBuilderList()

public List<? extends MappingRuleOrBuilder> getMappingRulesOrBuilderList()

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMappingRulesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMappingRules(int index)

public ListMappingRulesResponse.Builder removeMappingRules(int index)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMappingRulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMappingRules(int index, MappingRule value)

public ListMappingRulesResponse.Builder setMappingRules(int index, MappingRule value)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameters
Name Description
index int
value MappingRule
Returns
Type Description
ListMappingRulesResponse.Builder

setMappingRules(int index, MappingRule.Builder builderForValue)

public ListMappingRulesResponse.Builder setMappingRules(int index, MappingRule.Builder builderForValue)

The list of conversion workspace mapping rules.

repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1;

Parameters
Name Description
index int
builderForValue MappingRule.Builder
Returns
Type Description
ListMappingRulesResponse.Builder

setNextPageToken(String value)

public ListMappingRulesResponse.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
ListMappingRulesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMappingRulesResponse.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
ListMappingRulesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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