Class ObjectNameMappingList (0.9.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ObjectNameMappingList getDefaultInstance()
Returns
TypeDescription
ObjectNameMappingList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ObjectNameMappingList.Builder newBuilder()
Returns
TypeDescription
ObjectNameMappingList.Builder

newBuilder(ObjectNameMappingList prototype)

public static ObjectNameMappingList.Builder newBuilder(ObjectNameMappingList prototype)
Parameter
NameDescription
prototypeObjectNameMappingList
Returns
TypeDescription
ObjectNameMappingList.Builder

parseDelimitedFrom(InputStream input)

public static ObjectNameMappingList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ObjectNameMappingList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ObjectNameMappingList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ObjectNameMappingList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ObjectNameMappingList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ObjectNameMappingList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ObjectNameMappingList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectNameMappingList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ObjectNameMappingList> parser()
Returns
TypeDescription
Parser<ObjectNameMappingList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ObjectNameMappingList getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ObjectNameMapping

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>

getParserForType()

public Parser<ObjectNameMappingList> getParserForType()
Returns
TypeDescription
Parser<ObjectNameMappingList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ObjectNameMappingList.Builder newBuilderForType()
Returns
TypeDescription
ObjectNameMappingList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ObjectNameMappingList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ObjectNameMappingList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ObjectNameMappingList.Builder toBuilder()
Returns
TypeDescription
ObjectNameMappingList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException