Class ListMappingRulesResponse.Builder (2.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.clouddms.v1.MappingRule>
Returns
TypeDescription
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
NameDescription
valueMappingRule
Returns
TypeDescription
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
NameDescription
builderForValueMappingRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMappingRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMappingRule.Builder
Returns
TypeDescription
ListMappingRulesResponse.Builder

addMappingRulesBuilder()

public MappingRule.Builder addMappingRulesBuilder()

The list of conversion workspace mapping rules.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMappingRulesResponse build()
Returns
TypeDescription
ListMappingRulesResponse

buildPartial()

public ListMappingRulesResponse buildPartial()
Returns
TypeDescription
ListMappingRulesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMappingRulesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMappingRulesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getMappingRulesCount()

public int getMappingRulesCount()

The list of conversion workspace mapping rules.

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

Returns
TypeDescription
int

getMappingRulesList()

public List<MappingRule> getMappingRulesList()

The list of conversion workspace mapping rules.

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

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

getMappingRulesOrBuilderList()

public List<? extends MappingRuleOrBuilder> getMappingRulesOrBuilderList()

The list of conversion workspace mapping rules.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMappingRulesResponse other)

public ListMappingRulesResponse.Builder mergeFrom(ListMappingRulesResponse other)
Parameter
NameDescription
otherListMappingRulesResponse
Returns
TypeDescription
ListMappingRulesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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