Class StoredInfoTypeVersion.Builder (3.6.6)

public static final class StoredInfoTypeVersion.Builder extends GeneratedMessageV3.Builder<StoredInfoTypeVersion.Builder> implements StoredInfoTypeVersionOrBuilder

Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.

Protobuf type google.privacy.dlp.v2.StoredInfoTypeVersion

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllErrors(Iterable<? extends Error> values)

public StoredInfoTypeVersion.Builder addAllErrors(Iterable<? extends Error> values)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.Error>
Returns
TypeDescription
StoredInfoTypeVersion.Builder

addErrors(Error value)

public StoredInfoTypeVersion.Builder addErrors(Error value)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
valueError
Returns
TypeDescription
StoredInfoTypeVersion.Builder

addErrors(Error.Builder builderForValue)

public StoredInfoTypeVersion.Builder addErrors(Error.Builder builderForValue)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
builderForValueError.Builder
Returns
TypeDescription
StoredInfoTypeVersion.Builder

addErrors(int index, Error value)

public StoredInfoTypeVersion.Builder addErrors(int index, Error value)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameters
NameDescription
indexint
valueError
Returns
TypeDescription
StoredInfoTypeVersion.Builder

addErrors(int index, Error.Builder builderForValue)

public StoredInfoTypeVersion.Builder addErrors(int index, Error.Builder builderForValue)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameters
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
StoredInfoTypeVersion.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Returns
TypeDescription
Error.Builder

addErrorsBuilder(int index)

public Error.Builder addErrorsBuilder(int index)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StoredInfoTypeVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

build()

public StoredInfoTypeVersion build()
Returns
TypeDescription
StoredInfoTypeVersion

buildPartial()

public StoredInfoTypeVersion buildPartial()
Returns
TypeDescription
StoredInfoTypeVersion

clear()

public StoredInfoTypeVersion.Builder clear()
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

clearConfig()

public StoredInfoTypeVersion.Builder clearConfig()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
TypeDescription
StoredInfoTypeVersion.Builder

clearCreateTime()

public StoredInfoTypeVersion.Builder clearCreateTime()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
StoredInfoTypeVersion.Builder

clearErrors()

public StoredInfoTypeVersion.Builder clearErrors()

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Returns
TypeDescription
StoredInfoTypeVersion.Builder

clearField(Descriptors.FieldDescriptor field)

public StoredInfoTypeVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StoredInfoTypeVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

clearState()

public StoredInfoTypeVersion.Builder clearState()

Stored info type version state. Read-only, updated by the system during dictionary creation.

.google.privacy.dlp.v2.StoredInfoTypeState state = 3;

Returns
TypeDescription
StoredInfoTypeVersion.Builder

This builder for chaining.

clearStats()

public StoredInfoTypeVersion.Builder clearStats()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
TypeDescription
StoredInfoTypeVersion.Builder

clone()

public StoredInfoTypeVersion.Builder clone()
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

getConfig()

public StoredInfoTypeConfig getConfig()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
TypeDescription
StoredInfoTypeConfig

The config.

getConfigBuilder()

public StoredInfoTypeConfig.Builder getConfigBuilder()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
TypeDescription
StoredInfoTypeConfig.Builder

getConfigOrBuilder()

public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
TypeDescription
StoredInfoTypeConfigOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public StoredInfoTypeVersion getDefaultInstanceForType()
Returns
TypeDescription
StoredInfoTypeVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrors(int index)

public Error getErrors(int index)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsBuilder(int index)

public Error.Builder getErrorsBuilder(int index)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error.Builder

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Returns
TypeDescription
List<Builder>

getErrorsCount()

public int getErrorsCount()

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Returns
TypeDescription
int

getErrorsList()

public List<Error> getErrorsList()

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getState()

public StoredInfoTypeState getState()

Stored info type version state. Read-only, updated by the system during dictionary creation.

.google.privacy.dlp.v2.StoredInfoTypeState state = 3;

Returns
TypeDescription
StoredInfoTypeState

The state.

getStateValue()

public int getStateValue()

Stored info type version state. Read-only, updated by the system during dictionary creation.

.google.privacy.dlp.v2.StoredInfoTypeState state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getStats()

public StoredInfoTypeStats getStats()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
TypeDescription
StoredInfoTypeStats

The stats.

getStatsBuilder()

public StoredInfoTypeStats.Builder getStatsBuilder()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
TypeDescription
StoredInfoTypeStats.Builder

getStatsOrBuilder()

public StoredInfoTypeStatsOrBuilder getStatsOrBuilder()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
TypeDescription
StoredInfoTypeStatsOrBuilder

hasConfig()

public boolean hasConfig()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
TypeDescription
boolean

Whether the config field is set.

hasCreateTime()

public boolean hasCreateTime()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasStats()

public boolean hasStats()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
TypeDescription
boolean

Whether the stats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfig(StoredInfoTypeConfig value)

public StoredInfoTypeVersion.Builder mergeConfig(StoredInfoTypeConfig value)

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Parameter
NameDescription
valueStoredInfoTypeConfig
Returns
TypeDescription
StoredInfoTypeVersion.Builder

mergeCreateTime(Timestamp value)

public StoredInfoTypeVersion.Builder mergeCreateTime(Timestamp value)

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StoredInfoTypeVersion.Builder

mergeFrom(StoredInfoTypeVersion other)

public StoredInfoTypeVersion.Builder mergeFrom(StoredInfoTypeVersion other)
Parameter
NameDescription
otherStoredInfoTypeVersion
Returns
TypeDescription
StoredInfoTypeVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StoredInfoTypeVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StoredInfoTypeVersion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

mergeStats(StoredInfoTypeStats value)

public StoredInfoTypeVersion.Builder mergeStats(StoredInfoTypeStats value)

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Parameter
NameDescription
valueStoredInfoTypeStats
Returns
TypeDescription
StoredInfoTypeVersion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StoredInfoTypeVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

removeErrors(int index)

public StoredInfoTypeVersion.Builder removeErrors(int index)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setConfig(StoredInfoTypeConfig value)

public StoredInfoTypeVersion.Builder setConfig(StoredInfoTypeConfig value)

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Parameter
NameDescription
valueStoredInfoTypeConfig
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setConfig(StoredInfoTypeConfig.Builder builderForValue)

public StoredInfoTypeVersion.Builder setConfig(StoredInfoTypeConfig.Builder builderForValue)

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Parameter
NameDescription
builderForValueStoredInfoTypeConfig.Builder
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setCreateTime(Timestamp value)

public StoredInfoTypeVersion.Builder setCreateTime(Timestamp value)

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setCreateTime(Timestamp.Builder builderForValue)

public StoredInfoTypeVersion.Builder setCreateTime(Timestamp.Builder builderForValue)

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setErrors(int index, Error value)

public StoredInfoTypeVersion.Builder setErrors(int index, Error value)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameters
NameDescription
indexint
valueError
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setErrors(int index, Error.Builder builderForValue)

public StoredInfoTypeVersion.Builder setErrors(int index, Error.Builder builderForValue)

Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same config if it was not the source of the error.

repeated .google.privacy.dlp.v2.Error errors = 4;

Parameters
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StoredInfoTypeVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StoredInfoTypeVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

setState(StoredInfoTypeState value)

public StoredInfoTypeVersion.Builder setState(StoredInfoTypeState value)

Stored info type version state. Read-only, updated by the system during dictionary creation.

.google.privacy.dlp.v2.StoredInfoTypeState state = 3;

Parameter
NameDescription
valueStoredInfoTypeState

The state to set.

Returns
TypeDescription
StoredInfoTypeVersion.Builder

This builder for chaining.

setStateValue(int value)

public StoredInfoTypeVersion.Builder setStateValue(int value)

Stored info type version state. Read-only, updated by the system during dictionary creation.

.google.privacy.dlp.v2.StoredInfoTypeState state = 3;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
StoredInfoTypeVersion.Builder

This builder for chaining.

setStats(StoredInfoTypeStats value)

public StoredInfoTypeVersion.Builder setStats(StoredInfoTypeStats value)

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Parameter
NameDescription
valueStoredInfoTypeStats
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setStats(StoredInfoTypeStats.Builder builderForValue)

public StoredInfoTypeVersion.Builder setStats(StoredInfoTypeStats.Builder builderForValue)

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Parameter
NameDescription
builderForValueStoredInfoTypeStats.Builder
Returns
TypeDescription
StoredInfoTypeVersion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StoredInfoTypeVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides