- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class CreateDataAttributeRequest.Builder extends GeneratedMessageV3.Builder<CreateDataAttributeRequest.Builder> implements CreateDataAttributeRequestOrBuilder
Create DataAttribute request.
Protobuf type google.cloud.dataplex.v1.CreateDataAttributeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateDataAttributeRequest.BuilderImplements
CreateDataAttributeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDataAttributeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
build()
public CreateDataAttributeRequest build()
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest |
buildPartial()
public CreateDataAttributeRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest |
clear()
public CreateDataAttributeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
clearDataAttribute()
public CreateDataAttributeRequest.Builder clearDataAttribute()
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
clearDataAttributeId()
public CreateDataAttributeRequest.Builder clearDataAttributeId()
Required. DataAttribute identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the DataTaxonomy.
string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateDataAttributeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDataAttributeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
clearParent()
public CreateDataAttributeRequest.Builder clearParent()
Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |
clearValidateOnly()
public CreateDataAttributeRequest.Builder clearValidateOnly()
Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |
clone()
public CreateDataAttributeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
getDataAttribute()
public DataAttribute getDataAttribute()
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DataAttribute | The dataAttribute. |
getDataAttributeBuilder()
public DataAttribute.Builder getDataAttributeBuilder()
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DataAttribute.Builder |
getDataAttributeId()
public String getDataAttributeId()
Required. DataAttribute identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the DataTaxonomy.
string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The dataAttributeId. |
getDataAttributeIdBytes()
public ByteString getDataAttributeIdBytes()
Required. DataAttribute identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the DataTaxonomy.
string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for dataAttributeId. |
getDataAttributeOrBuilder()
public DataAttributeOrBuilder getDataAttributeOrBuilder()
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DataAttributeOrBuilder |
getDefaultInstanceForType()
public CreateDataAttributeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
getValidateOnly()
public boolean getValidateOnly()
Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | The validateOnly. |
hasDataAttribute()
public boolean hasDataAttribute()
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the dataAttribute field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDataAttribute(DataAttribute value)
public CreateDataAttributeRequest.Builder mergeDataAttribute(DataAttribute value)
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | DataAttribute |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
mergeFrom(CreateDataAttributeRequest other)
public CreateDataAttributeRequest.Builder mergeFrom(CreateDataAttributeRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateDataAttributeRequest |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDataAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateDataAttributeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataAttributeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
setDataAttribute(DataAttribute value)
public CreateDataAttributeRequest.Builder setDataAttribute(DataAttribute value)
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | DataAttribute |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
setDataAttribute(DataAttribute.Builder builderForValue)
public CreateDataAttributeRequest.Builder setDataAttribute(DataAttribute.Builder builderForValue)
Required. DataAttribute resource.
.google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | DataAttribute.Builder |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
setDataAttributeId(String value)
public CreateDataAttributeRequest.Builder setDataAttributeId(String value)
Required. DataAttribute identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the DataTaxonomy.
string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The dataAttributeId to set. |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |
setDataAttributeIdBytes(ByteString value)
public CreateDataAttributeRequest.Builder setDataAttributeIdBytes(ByteString value)
Required. DataAttribute identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the DataTaxonomy.
string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for dataAttributeId to set. |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDataAttributeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
setParent(String value)
public CreateDataAttributeRequest.Builder setParent(String value)
Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateDataAttributeRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
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 |
CreateDataAttributeRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDataAttributeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataAttributeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder |
setValidateOnly(boolean value)
public CreateDataAttributeRequest.Builder setValidateOnly(boolean value)
Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
CreateDataAttributeRequest.Builder | This builder for chaining. |