public static final class UpdateSchemaRequest.Builder extends GeneratedMessage.Builder<UpdateSchemaRequest.Builder> implements UpdateSchemaRequestOrBuilderRequest message for SchemaService.UpdateSchema method.
Protobuf type google.cloud.discoveryengine.v1alpha.UpdateSchemaRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSchemaRequest.BuilderImplements
UpdateSchemaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateSchemaRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest |
|
buildPartial()
public UpdateSchemaRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest |
|
clear()
public UpdateSchemaRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
clearAllowMissing()
public UpdateSchemaRequest.Builder clearAllowMissing() If set to true, and the
Schema is not found, a new
Schema is created. In this
situation, update_mask is ignored.
bool allow_missing = 3;
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
This builder for chaining. |
clearSchema()
public UpdateSchemaRequest.Builder clearSchema()Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
getAllowMissing()
public boolean getAllowMissing() If set to true, and the
Schema is not found, a new
Schema is created. In this
situation, update_mask is ignored.
bool allow_missing = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowMissing. |
getDefaultInstanceForType()
public UpdateSchemaRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSchema()
public Schema getSchema()Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema |
The schema. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder()Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
hasSchema()
public boolean hasSchema()Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateSchemaRequest other)
public UpdateSchemaRequest.Builder mergeFrom(UpdateSchemaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateSchemaRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSchemaRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
mergeSchema(Schema value)
public UpdateSchemaRequest.Builder mergeSchema(Schema value)Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
setAllowMissing(boolean value)
public UpdateSchemaRequest.Builder setAllowMissing(boolean value) If set to true, and the
Schema is not found, a new
Schema is created. In this
situation, update_mask is ignored.
bool allow_missing = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowMissing to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
This builder for chaining. |
setSchema(Schema value)
public UpdateSchemaRequest.Builder setSchema(Schema value)Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|
setSchema(Schema.Builder builderForValue)
public UpdateSchemaRequest.Builder setSchema(Schema.Builder builderForValue)Required. The Schema to update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSchemaRequest.Builder |
|