public static final class CreateDataSchemaRequest.Builder extends GeneratedMessage.Builder<CreateDataSchemaRequest.Builder> implements CreateDataSchemaRequestOrBuilderRequest message for CreateDataSchema.
Protobuf type google.cloud.visionai.v1.CreateDataSchemaRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateDataSchemaRequest.BuilderImplements
CreateDataSchemaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateDataSchemaRequest build()| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest |
|
buildPartial()
public CreateDataSchemaRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest |
|
clear()
public CreateDataSchemaRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
clearDataSchema()
public CreateDataSchemaRequest.Builder clearDataSchema()Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
clearParent()
public CreateDataSchemaRequest.Builder clearParent() Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
This builder for chaining. |
getDataSchema()
public DataSchema getDataSchema()Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataSchema |
The dataSchema. |
getDataSchemaBuilder()
public DataSchema.Builder getDataSchemaBuilder()Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataSchema.Builder |
|
getDataSchemaOrBuilder()
public DataSchemaOrBuilder getDataSchemaOrBuilder()Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataSchemaOrBuilder |
|
getDefaultInstanceForType()
public CreateDataSchemaRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_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 parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasDataSchema()
public boolean hasDataSchema()Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataSchema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataSchema(DataSchema value)
public CreateDataSchemaRequest.Builder mergeDataSchema(DataSchema value)Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataSchema |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
mergeFrom(CreateDataSchemaRequest other)
public CreateDataSchemaRequest.Builder mergeFrom(CreateDataSchemaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateDataSchemaRequest |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateDataSchemaRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
setDataSchema(DataSchema value)
public CreateDataSchemaRequest.Builder setDataSchema(DataSchema value)Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataSchema |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
setDataSchema(DataSchema.Builder builderForValue)
public CreateDataSchemaRequest.Builder setDataSchema(DataSchema.Builder builderForValue)Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataSchema.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
|
setParent(String value)
public CreateDataSchemaRequest.Builder setParent(String value) Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDataSchemaRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateDataSchemaRequest.Builder setParentBytes(ByteString value) Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
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 |
CreateDataSchemaRequest.Builder |
This builder for chaining. |