Class PartitionSpec (3.4.0)

public final class PartitionSpec extends GeneratedMessageV3 implements PartitionSpecOrBuilder

Specifications of BigQuery partitioned table as export destination.

Protobuf type google.cloud.asset.v1p7beta1.PartitionSpec

Static Fields

PARTITION_KEY_FIELD_NUMBER

public static final int PARTITION_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PartitionSpec getDefaultInstance()
Returns
TypeDescription
PartitionSpec

getDescriptor()

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

newBuilder()

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

newBuilder(PartitionSpec prototype)

public static PartitionSpec.Builder newBuilder(PartitionSpec prototype)
Parameter
NameDescription
prototypePartitionSpec
Returns
TypeDescription
PartitionSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PartitionSpec getDefaultInstanceForType()
Returns
TypeDescription
PartitionSpec

getParserForType()

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

getPartitionKey()

public PartitionSpec.PartitionKey getPartitionKey()

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1;

Returns
TypeDescription
PartitionSpec.PartitionKey

The partitionKey.

getPartitionKeyValue()

public int getPartitionKeyValue()

The partition key for BigQuery partitioned table.

.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for partitionKey.

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 PartitionSpec.Builder newBuilderForType()
Returns
TypeDescription
PartitionSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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