public static final class TimePartConfig.Builder extends GeneratedMessageV3.Builder<TimePartConfig.Builder> implements TimePartConfigOrBuilder
For use with Date
, Timestamp
, and TimeOfDay
, extract or preserve a
portion of the value.
Protobuf type google.privacy.dlp.v2.TimePartConfig
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 TimePartConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimePartConfig build()
Returns
buildPartial()
public TimePartConfig buildPartial()
Returns
clear()
public TimePartConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimePartConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimePartConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TimePartConfig.Builder clearPartToExtract()
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
Returns
clone()
public TimePartConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimePartConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public TimePartConfig.TimePart getPartToExtract()
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
Returns
public int getPartToExtractValue()
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for partToExtract.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TimePartConfig other)
public TimePartConfig.Builder mergeFrom(TimePartConfig other)
Parameter
Returns
public TimePartConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimePartConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimePartConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TimePartConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TimePartConfig.Builder setPartToExtract(TimePartConfig.TimePart value)
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
Parameter
Returns
public TimePartConfig.Builder setPartToExtractValue(int value)
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for partToExtract to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimePartConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimePartConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides