Class PartitionSpec.Builder (3.46.0)

public static final class PartitionSpec.Builder extends GeneratedMessageV3.Builder<PartitionSpec.Builder> implements PartitionSpecOrBuilder

Specifications of BigQuery partitioned table as export destination.

Protobuf type google.cloud.asset.v1p7beta1.PartitionSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PartitionSpec build()
Returns
Type Description
PartitionSpec

buildPartial()

public PartitionSpec buildPartial()
Returns
Type Description
PartitionSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionKey()

public PartitionSpec.Builder clearPartitionKey()

The partition key for BigQuery partitioned table.

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

Returns
Type Description
PartitionSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PartitionSpec getDefaultInstanceForType()
Returns
Type Description
PartitionSpec

getDescriptorForType()

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

getPartitionKey()

public PartitionSpec.PartitionKey getPartitionKey()

The partition key for BigQuery partitioned table.

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for partitionKey.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PartitionSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPartitionKey(PartitionSpec.PartitionKey value)

public PartitionSpec.Builder setPartitionKey(PartitionSpec.PartitionKey value)

The partition key for BigQuery partitioned table.

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

Parameter
Name Description
value PartitionSpec.PartitionKey

The partitionKey to set.

Returns
Type Description
PartitionSpec.Builder

This builder for chaining.

setPartitionKeyValue(int value)

public PartitionSpec.Builder setPartitionKeyValue(int value)

The partition key for BigQuery partitioned table.

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

Parameter
Name Description
value int

The enum numeric value on the wire for partitionKey to set.

Returns
Type Description
PartitionSpec.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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