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.v1.PartitionSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PartitionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PartitionSpec build()
Returns
buildPartial()
public PartitionSpec buildPartial()
Returns
clear()
public PartitionSpec.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PartitionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPartitionKey()
public PartitionSpec.Builder clearPartitionKey()
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
Returns
clone()
public PartitionSpec.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PartitionSpec getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPartitionKey()
public PartitionSpec.PartitionKey getPartitionKey()
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
Returns
getPartitionKeyValue()
public int getPartitionKeyValue()
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
Returns
Type |
Description |
int |
The enum numeric value on the wire for partitionKey.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PartitionSpec other)
public PartitionSpec.Builder mergeFrom(PartitionSpec other)
Parameter
Returns
public PartitionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PartitionSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PartitionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PartitionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPartitionKey(PartitionSpec.PartitionKey value)
public PartitionSpec.Builder setPartitionKey(PartitionSpec.PartitionKey value)
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
Parameter
Returns
setPartitionKeyValue(int value)
public PartitionSpec.Builder setPartitionKeyValue(int value)
The partition key for BigQuery partitioned table.
.google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
Parameter
Name |
Description |
value |
int
The enum numeric value on the wire for partitionKey to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PartitionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PartitionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides