Class ObjectNameMappingList.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.migration.v2.ObjectNameMapping>
Returns
TypeDescription
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
NameDescription
valueObjectNameMapping
Returns
TypeDescription
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
NameDescription
builderForValueObjectNameMapping.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueObjectNameMapping
Returns
TypeDescription
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
NameDescription
indexint
builderForValueObjectNameMapping.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ObjectNameMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ObjectNameMappingList build()
Returns
TypeDescription
ObjectNameMappingList

buildPartial()

public ObjectNameMappingList buildPartial()
Returns
TypeDescription
ObjectNameMappingList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ObjectNameMappingList getDefaultInstanceForType()
Returns
TypeDescription
ObjectNameMappingList

getDescriptorForType()

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

getNameMapCount()

public int getNameMapCount()

The elements of the object name map.

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

Returns
TypeDescription
int

getNameMapList()

public List<ObjectNameMapping> getNameMapList()

The elements of the object name map.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2.ObjectNameMappingOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ObjectNameMappingList other)

public ObjectNameMappingList.Builder mergeFrom(ObjectNameMappingList other)
Parameter
NameDescription
otherObjectNameMappingList
Returns
TypeDescription
ObjectNameMappingList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ObjectNameMappingList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ObjectNameMappingList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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