public final class TimePartConfig extends GeneratedMessageV3 implements TimePartConfigOrBuilder
For use with Date
, Timestamp
, and TimeOfDay
, extract or preserve a
portion of the value.
Protobuf type google.privacy.dlp.v2.TimePartConfig
Static Fields
public static final int PART_TO_EXTRACT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TimePartConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TimePartConfig.Builder newBuilder()
Returns
newBuilder(TimePartConfig prototype)
public static TimePartConfig.Builder newBuilder(TimePartConfig prototype)
Parameter
Returns
public static TimePartConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimePartConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TimePartConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimePartConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TimePartConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimePartConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimePartConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TimePartConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimePartConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimePartConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TimePartConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimePartConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TimePartConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TimePartConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<TimePartConfig> getParserForType()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TimePartConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimePartConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TimePartConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions