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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimePartConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TimePartConfig build()
buildPartial()
public TimePartConfig buildPartial()
clear()
public TimePartConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimePartConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimePartConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TimePartConfig.Builder clearPartToExtract()
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
clone()
public TimePartConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public TimePartConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public TimePartConfig.TimePart getPartToExtract()
The part of the time to keep.
.google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TimePartConfig other)
public TimePartConfig.Builder mergeFrom(TimePartConfig other)
public TimePartConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimePartConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimePartConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TimePartConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimePartConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimePartConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides