public static final class CreateAspectTypeRequest.Builder extends GeneratedMessage.Builder<CreateAspectTypeRequest.Builder> implements CreateAspectTypeRequestOrBuilderCreate AspectType Request.
Protobuf type google.cloud.dataplex.v1.CreateAspectTypeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAspectTypeRequest.BuilderImplements
CreateAspectTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAspectTypeRequest build()| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest |
|
buildPartial()
public CreateAspectTypeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest |
|
clear()
public CreateAspectTypeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
clearAspectType()
public CreateAspectTypeRequest.Builder clearAspectType()Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
clearAspectTypeId()
public CreateAspectTypeRequest.Builder clearAspectTypeId()Required. AspectType identifier.
string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
clearParent()
public CreateAspectTypeRequest.Builder clearParent() Required. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where location_id refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public CreateAspectTypeRequest.Builder clearValidateOnly()Optional. The service validates the request without performing any mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
getAspectType()
public AspectType getAspectType()Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AspectType |
The aspectType. |
getAspectTypeBuilder()
public AspectType.Builder getAspectTypeBuilder()Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AspectType.Builder |
|
getAspectTypeId()
public String getAspectTypeId()Required. AspectType identifier.
string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The aspectTypeId. |
getAspectTypeIdBytes()
public ByteString getAspectTypeIdBytes()Required. AspectType identifier.
string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for aspectTypeId. |
getAspectTypeOrBuilder()
public AspectTypeOrBuilder getAspectTypeOrBuilder()Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AspectTypeOrBuilder |
|
getDefaultInstanceForType()
public CreateAspectTypeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where location_id refers to a Google Cloud region.
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 AspectType, of the form:
projects/{project_number}/locations/{location_id}
where location_id refers to a Google Cloud region.
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. The service validates the request without performing any mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasAspectType()
public boolean hasAspectType()Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the aspectType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAspectType(AspectType value)
public CreateAspectTypeRequest.Builder mergeAspectType(AspectType value)Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AspectType |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
mergeFrom(CreateAspectTypeRequest other)
public CreateAspectTypeRequest.Builder mergeFrom(CreateAspectTypeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAspectTypeRequest |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAspectTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAspectTypeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
setAspectType(AspectType value)
public CreateAspectTypeRequest.Builder setAspectType(AspectType value)Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AspectType |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
setAspectType(AspectType.Builder builderForValue)
public CreateAspectTypeRequest.Builder setAspectType(AspectType.Builder builderForValue)Required. AspectType Resource.
.google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AspectType.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
|
setAspectTypeId(String value)
public CreateAspectTypeRequest.Builder setAspectTypeId(String value)Required. AspectType identifier.
string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe aspectTypeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
setAspectTypeIdBytes(ByteString value)
public CreateAspectTypeRequest.Builder setAspectTypeIdBytes(ByteString value)Required. AspectType identifier.
string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for aspectTypeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateAspectTypeRequest.Builder setParent(String value) Required. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where location_id refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateAspectTypeRequest.Builder setParentBytes(ByteString value) Required. The resource name of the AspectType, of the form:
projects/{project_number}/locations/{location_id}
where location_id refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public CreateAspectTypeRequest.Builder setValidateOnly(boolean value)Optional. The service validates the request without performing any mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAspectTypeRequest.Builder |
This builder for chaining. |