Class ObjectNameMappingList (0.57.0)

public final class ObjectNameMappingList extends GeneratedMessageV3 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 Fields

NAME_MAP_FIELD_NUMBER

public static final int NAME_MAP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ObjectNameMappingList getDefaultInstance()
Returns
Type Description
ObjectNameMappingList

getDescriptor()

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

newBuilder()

public static ObjectNameMappingList.Builder newBuilder()
Returns
Type Description
ObjectNameMappingList.Builder

newBuilder(ObjectNameMappingList prototype)

public static ObjectNameMappingList.Builder newBuilder(ObjectNameMappingList prototype)
Parameter
Name Description
prototype ObjectNameMappingList
Returns
Type Description
ObjectNameMappingList.Builder

parseDelimitedFrom(InputStream input)

public static ObjectNameMappingList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ObjectNameMappingList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ObjectNameMappingList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ObjectNameMappingList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ObjectNameMappingList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ObjectNameMappingList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectNameMappingList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ObjectNameMappingList> parser()
Returns
Type Description
Parser<ObjectNameMappingList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ObjectNameMappingList getDefaultInstanceForType()
Returns
Type Description
ObjectNameMappingList

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

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>

getParserForType()

public Parser<ObjectNameMappingList> getParserForType()
Returns
Type Description
Parser<ObjectNameMappingList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ObjectNameMappingList.Builder newBuilderForType()
Returns
Type Description
ObjectNameMappingList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ObjectNameMappingList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ObjectNameMappingList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ObjectNameMappingList.Builder toBuilder()
Returns
Type Description
ObjectNameMappingList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException