public static final class StoredType.Builder extends GeneratedMessage.Builder<StoredType.Builder> implements StoredTypeOrBuilderA reference to a StoredInfoType to use with scanning.
Protobuf type google.privacy.dlp.v2.StoredType
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StoredType.BuilderImplements
StoredTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StoredType build()| Returns | |
|---|---|
| Type | Description |
StoredType |
|
buildPartial()
public StoredType buildPartial()| Returns | |
|---|---|
| Type | Description |
StoredType |
|
clear()
public StoredType.Builder clear()| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
|
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 | |
|---|---|
| Type | Description |
StoredType.Builder |
|
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 | |
|---|---|
| Type | Description |
StoredType.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
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 | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public StoredType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StoredType |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
|
mergeFrom(StoredType other)
public StoredType.Builder mergeFrom(StoredType other)| Parameter | |
|---|---|
| Name | Description |
other |
StoredType |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StoredType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StoredType.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
|
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 | |
|---|---|
| Type | Description |
StoredType.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
StoredType.Builder |
This builder for chaining. |