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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateStoredInfoTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateStoredInfoTypeRequest build()
buildPartial()
public UpdateStoredInfoTypeRequest buildPartial()
clear()
public UpdateStoredInfoTypeRequest.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public UpdateStoredInfoTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateStoredInfoTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateStoredInfoTypeRequest.Builder clearUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
clone()
public UpdateStoredInfoTypeRequest.Builder clone()
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;
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;
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;
getDefaultInstanceForType()
public UpdateStoredInfoTypeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getUpdateMask()
public FieldMask getUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(UpdateStoredInfoTypeRequest other)
public UpdateStoredInfoTypeRequest.Builder mergeFrom(UpdateStoredInfoTypeRequest other)
public UpdateStoredInfoTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateStoredInfoTypeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateStoredInfoTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateStoredInfoTypeRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateStoredInfoTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateStoredInfoTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateStoredInfoTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateStoredInfoTypeRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
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
|