public static final class StoredType.Builder extends GeneratedMessageV3.Builder<StoredType.Builder> implements StoredTypeOrBuilder
A reference to a StoredInfoType to use with scanning.
Protobuf type google.privacy.dlp.v2.StoredType
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StoredType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StoredType build()
Returns
buildPartial()
public StoredType buildPartial()
Returns
clear()
public StoredType.Builder clear()
Returns
Overrides
clearCreateTime()
public StoredType.Builder clearCreateTime()
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public StoredType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public StoredType.Builder clearName()
Resource name of the requested StoredInfoType
, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342
.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StoredType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StoredType.Builder clone()
Returns
Overrides
getCreateTime()
public Timestamp getCreateTime()
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Returns
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Returns
getDefaultInstanceForType()
public StoredType getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Resource name of the requested StoredInfoType
, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342
.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Resource name of the requested StoredInfoType
, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342
.
string name = 1;
Returns
hasCreateTime()
public boolean hasCreateTime()
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCreateTime(Timestamp value)
public StoredType.Builder mergeCreateTime(Timestamp value)
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
mergeFrom(StoredType other)
public StoredType.Builder mergeFrom(StoredType other)
Parameter
Returns
public StoredType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StoredType.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StoredType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCreateTime(Timestamp value)
public StoredType.Builder setCreateTime(Timestamp value)
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
setCreateTime(Timestamp.Builder builderForValue)
public StoredType.Builder setCreateTime(Timestamp.Builder builderForValue)
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
.google.protobuf.Timestamp create_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StoredType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public StoredType.Builder setName(String value)
Resource name of the requested StoredInfoType
, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342
.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public StoredType.Builder setNameBytes(ByteString value)
Resource name of the requested StoredInfoType
, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342
.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StoredType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StoredType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides