public static final class UpdateStoredInfoTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateStoredInfoTypeRequest.Builder> implements UpdateStoredInfoTypeRequestOrBuilder
Request message for UpdateStoredInfoType.
Protobuf type google.privacy.dlp.v2.UpdateStoredInfoTypeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateStoredInfoTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateStoredInfoTypeRequest build()
Returns
buildPartial()
public UpdateStoredInfoTypeRequest buildPartial()
Returns
clear()
public UpdateStoredInfoTypeRequest.Builder clear()
Returns
Overrides
clearConfig()
public UpdateStoredInfoTypeRequest.Builder clearConfig()
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateStoredInfoTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public UpdateStoredInfoTypeRequest.Builder clearName()
Required. Resource name of organization and storedInfoType to be updated, for
example organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateStoredInfoTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateStoredInfoTypeRequest.Builder clearUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateStoredInfoTypeRequest.Builder clone()
Returns
Overrides
getConfig()
public StoredInfoTypeConfig getConfig()
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Returns
getConfigBuilder()
public StoredInfoTypeConfig.Builder getConfigBuilder()
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Returns
getConfigOrBuilder()
public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Returns
getDefaultInstanceForType()
public UpdateStoredInfoTypeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. Resource name of organization and storedInfoType to be updated, for
example organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of organization and storedInfoType to be updated, for
example organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
hasConfig()
public boolean hasConfig()
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Returns
Type | Description |
boolean | Whether the config field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConfig(StoredInfoTypeConfig value)
public UpdateStoredInfoTypeRequest.Builder mergeConfig(StoredInfoTypeConfig value)
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Parameter
Returns
mergeFrom(UpdateStoredInfoTypeRequest other)
public UpdateStoredInfoTypeRequest.Builder mergeFrom(UpdateStoredInfoTypeRequest other)
Parameter
Returns
public UpdateStoredInfoTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateStoredInfoTypeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateStoredInfoTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateStoredInfoTypeRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setConfig(StoredInfoTypeConfig value)
public UpdateStoredInfoTypeRequest.Builder setConfig(StoredInfoTypeConfig value)
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Parameter
Returns
setConfig(StoredInfoTypeConfig.Builder builderForValue)
public UpdateStoredInfoTypeRequest.Builder setConfig(StoredInfoTypeConfig.Builder builderForValue)
Updated configuration for the storedInfoType. If not provided, a new
version of the storedInfoType will be created with the existing
configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateStoredInfoTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public UpdateStoredInfoTypeRequest.Builder setName(String value)
Required. Resource name of organization and storedInfoType to be updated, for
example organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public UpdateStoredInfoTypeRequest.Builder setNameBytes(ByteString value)
Required. Resource name of organization and storedInfoType to be updated, for
example organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateStoredInfoTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateStoredInfoTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateStoredInfoTypeRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateStoredInfoTypeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns