Class ObjectNameMappingList.Builder (0.56.0)

public static final class ObjectNameMappingList.Builder extends GeneratedMessageV3.Builder<ObjectNameMappingList.Builder> implements ObjectNameMappingListOrBuilder

Represents a map of name mappings using a list of key:value proto messages of existing name to desired output name.

Protobuf type google.cloud.bigquery.migration.v2.ObjectNameMappingList

Static Methods

getDescriptor()

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

Methods

addAllNameMap(Iterable<? extends ObjectNameMapping> values)

public ObjectNameMappingList.Builder addAllNameMap(Iterable<? extends ObjectNameMapping> values)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.migration.v2.ObjectNameMapping>
Returns
Type Description
ObjectNameMappingList.Builder

addNameMap(ObjectNameMapping value)

public ObjectNameMappingList.Builder addNameMap(ObjectNameMapping value)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
value ObjectNameMapping
Returns
Type Description
ObjectNameMappingList.Builder

addNameMap(ObjectNameMapping.Builder builderForValue)

public ObjectNameMappingList.Builder addNameMap(ObjectNameMapping.Builder builderForValue)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
builderForValue ObjectNameMapping.Builder
Returns
Type Description
ObjectNameMappingList.Builder

addNameMap(int index, ObjectNameMapping value)

public ObjectNameMappingList.Builder addNameMap(int index, ObjectNameMapping value)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameters
Name Description
index int
value ObjectNameMapping
Returns
Type Description
ObjectNameMappingList.Builder

addNameMap(int index, ObjectNameMapping.Builder builderForValue)

public ObjectNameMappingList.Builder addNameMap(int index, ObjectNameMapping.Builder builderForValue)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameters
Name Description
index int
builderForValue ObjectNameMapping.Builder
Returns
Type Description
ObjectNameMappingList.Builder

addNameMapBuilder()

public ObjectNameMapping.Builder addNameMapBuilder()

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Returns
Type Description
ObjectNameMapping.Builder

addNameMapBuilder(int index)

public ObjectNameMapping.Builder addNameMapBuilder(int index)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
index int
Returns
Type Description
ObjectNameMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ObjectNameMappingList build()
Returns
Type Description
ObjectNameMappingList

buildPartial()

public ObjectNameMappingList buildPartial()
Returns
Type Description
ObjectNameMappingList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNameMap()

public ObjectNameMappingList.Builder clearNameMap()

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Returns
Type Description
ObjectNameMappingList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ObjectNameMappingList getDefaultInstanceForType()
Returns
Type Description
ObjectNameMappingList

getDescriptorForType()

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

getNameMap(int index)

public ObjectNameMapping getNameMap(int index)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
index int
Returns
Type Description
ObjectNameMapping

getNameMapBuilder(int index)

public ObjectNameMapping.Builder getNameMapBuilder(int index)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
index int
Returns
Type Description
ObjectNameMapping.Builder

getNameMapBuilderList()

public List<ObjectNameMapping.Builder> getNameMapBuilderList()

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Returns
Type Description
List<Builder>

getNameMapCount()

public int getNameMapCount()

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Returns
Type Description
int

getNameMapList()

public List<ObjectNameMapping> getNameMapList()

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Returns
Type Description
List<ObjectNameMapping>

getNameMapOrBuilder(int index)

public ObjectNameMappingOrBuilder getNameMapOrBuilder(int index)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
index int
Returns
Type Description
ObjectNameMappingOrBuilder

getNameMapOrBuilderList()

public List<? extends ObjectNameMappingOrBuilder> getNameMapOrBuilderList()

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ObjectNameMappingList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNameMap(int index)

public ObjectNameMappingList.Builder removeNameMap(int index)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameter
Name Description
index int
Returns
Type Description
ObjectNameMappingList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNameMap(int index, ObjectNameMapping value)

public ObjectNameMappingList.Builder setNameMap(int index, ObjectNameMapping value)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameters
Name Description
index int
value ObjectNameMapping
Returns
Type Description
ObjectNameMappingList.Builder

setNameMap(int index, ObjectNameMapping.Builder builderForValue)

public ObjectNameMappingList.Builder setNameMap(int index, ObjectNameMapping.Builder builderForValue)

The elements of the object name map.

repeated .google.cloud.bigquery.migration.v2.ObjectNameMapping name_map = 1;

Parameters
Name Description
index int
builderForValue ObjectNameMapping.Builder
Returns
Type Description
ObjectNameMappingList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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