public static final class CreateDataSchemaRequest.Builder extends GeneratedMessageV3.Builder<CreateDataSchemaRequest.Builder> implements CreateDataSchemaRequestOrBuilder
Request message for CreateDataSchema.
Protobuf type google.cloud.visionai.v1.CreateDataSchemaRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateDataSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDataSchemaRequest build()
buildPartial()
public CreateDataSchemaRequest buildPartial()
clear()
public CreateDataSchemaRequest.Builder clear()
Overrides
clearDataSchema()
public CreateDataSchemaRequest.Builder clearDataSchema()
Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateDataSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDataSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public CreateDataSchemaRequest.Builder clone()
Overrides
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];
getDataSchemaOrBuilder()
public DataSchemaOrBuilder getDataSchemaOrBuilder()
Required. The data schema to create.
.google.cloud.visionai.v1.DataSchema data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateDataSchemaRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(CreateDataSchemaRequest other)
public CreateDataSchemaRequest.Builder mergeFrom(CreateDataSchemaRequest other)
public CreateDataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDataSchemaRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDataSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDataSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides