- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class CreateStoredInfoTypeRequest.Builder extends GeneratedMessageV3.Builder<CreateStoredInfoTypeRequest.Builder> implements CreateStoredInfoTypeRequestOrBuilder
Request message for CreateStoredInfoType.
Protobuf type google.privacy.dlp.v2.CreateStoredInfoTypeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateStoredInfoTypeRequest.BuilderImplements
CreateStoredInfoTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateStoredInfoTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
build()
public CreateStoredInfoTypeRequest build()
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest |
buildPartial()
public CreateStoredInfoTypeRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest |
clear()
public CreateStoredInfoTypeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
clearConfig()
public CreateStoredInfoTypeRequest.Builder clearConfig()
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateStoredInfoTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
clearLocationId()
public CreateStoredInfoTypeRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 4;
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateStoredInfoTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
clearParent()
public CreateStoredInfoTypeRequest.Builder clearParent()
Required. Parent resource name.
The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
- Organizations scope, location specified:
organizations/{org_id}/locations/{location_id}
Organizations scope, no location specified (defaults to global):
organizations/{org_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
clearStoredInfoTypeId()
public CreateStoredInfoTypeRequest.Builder clearStoredInfoTypeId()
The storedInfoType ID can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string stored_info_type_id = 3;
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
clone()
public CreateStoredInfoTypeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
getConfig()
public StoredInfoTypeConfig getConfig()
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StoredInfoTypeConfig |
The config. |
getConfigBuilder()
public StoredInfoTypeConfig.Builder getConfigBuilder()
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StoredInfoTypeConfig.Builder |
getConfigOrBuilder()
public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StoredInfoTypeConfigOrBuilder |
getDefaultInstanceForType()
public CreateStoredInfoTypeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLocationId()
public String getLocationId()
Deprecated. This field has no effect.
string location_id = 4;
Returns | |
---|---|
Type | Description |
String |
The locationId. |
getLocationIdBytes()
public ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for locationId. |
getParent()
public String getParent()
Required. Parent resource name.
The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
- Organizations scope, location specified:
organizations/{org_id}/locations/{location_id}
Organizations scope, no location specified (defaults to global):
organizations/{org_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Parent resource name.
The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
- Organizations scope, location specified:
organizations/{org_id}/locations/{location_id}
Organizations scope, no location specified (defaults to global):
organizations/{org_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getStoredInfoTypeId()
public String getStoredInfoTypeId()
The storedInfoType ID can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string stored_info_type_id = 3;
Returns | |
---|---|
Type | Description |
String |
The storedInfoTypeId. |
getStoredInfoTypeIdBytes()
public ByteString getStoredInfoTypeIdBytes()
The storedInfoType ID can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string stored_info_type_id = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for storedInfoTypeId. |
hasConfig()
public boolean hasConfig()
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the config field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConfig(StoredInfoTypeConfig value)
public CreateStoredInfoTypeRequest.Builder mergeConfig(StoredInfoTypeConfig value)
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
StoredInfoTypeConfig |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
mergeFrom(CreateStoredInfoTypeRequest other)
public CreateStoredInfoTypeRequest.Builder mergeFrom(CreateStoredInfoTypeRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateStoredInfoTypeRequest |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateStoredInfoTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateStoredInfoTypeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateStoredInfoTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
setConfig(StoredInfoTypeConfig value)
public CreateStoredInfoTypeRequest.Builder setConfig(StoredInfoTypeConfig value)
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
StoredInfoTypeConfig |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
setConfig(StoredInfoTypeConfig.Builder builderForValue)
public CreateStoredInfoTypeRequest.Builder setConfig(StoredInfoTypeConfig.Builder builderForValue)
Required. Configuration of the storedInfoType to create.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
StoredInfoTypeConfig.Builder |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateStoredInfoTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
setLocationId(String value)
public CreateStoredInfoTypeRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 4;
Parameter | |
---|---|
Name | Description |
value |
String The locationId to set. |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
setLocationIdBytes(ByteString value)
public CreateStoredInfoTypeRequest.Builder setLocationIdBytes(ByteString value)
Deprecated. This field has no effect.
string location_id = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for locationId to set. |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateStoredInfoTypeRequest.Builder setParent(String value)
Required. Parent resource name.
The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
- Organizations scope, location specified:
organizations/{org_id}/locations/{location_id}
Organizations scope, no location specified (defaults to global):
organizations/{org_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateStoredInfoTypeRequest.Builder setParentBytes(ByteString value)
Required. Parent resource name.
The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
- Organizations scope, location specified:
organizations/{org_id}/locations/{location_id}
Organizations scope, no location specified (defaults to global):
organizations/{org_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateStoredInfoTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
setStoredInfoTypeId(String value)
public CreateStoredInfoTypeRequest.Builder setStoredInfoTypeId(String value)
The storedInfoType ID can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string stored_info_type_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The storedInfoTypeId to set. |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
setStoredInfoTypeIdBytes(ByteString value)
public CreateStoredInfoTypeRequest.Builder setStoredInfoTypeIdBytes(ByteString value)
The storedInfoType ID can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string stored_info_type_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for storedInfoTypeId to set. |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateStoredInfoTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateStoredInfoTypeRequest.Builder |