public static final class UpdateSchemaRequest.Builder extends GeneratedMessageV3.Builder<UpdateSchemaRequest.Builder> implements UpdateSchemaRequestOrBuilder
Request message for
SchemaService.UpdateSchema
method.
Protobuf type google.cloud.discoveryengine.v1alpha.UpdateSchemaRequest
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 UpdateSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSchemaRequest build()
buildPartial()
public UpdateSchemaRequest buildPartial()
clear()
public UpdateSchemaRequest.Builder clear()
Overrides
clearAllowMissing()
public UpdateSchemaRequest.Builder clearAllowMissing()
If set to true, and the
Schema is not found, a new
Schema will be created. In
this situation, update_mask
is ignored.
bool allow_missing = 3;
clearField(Descriptors.FieldDescriptor field)
public UpdateSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSchema()
public UpdateSchemaRequest.Builder clearSchema()
Required. The Schema to
update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateSchemaRequest.Builder clone()
Overrides
getAllowMissing()
public boolean getAllowMissing()
If set to true, and the
Schema is not found, a new
Schema will be created. In
this situation, update_mask
is ignored.
bool allow_missing = 3;
Returns |
Type |
Description |
boolean |
The allowMissing.
|
getDefaultInstanceForType()
public UpdateSchemaRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()
Required. The Schema to
update.
.google.cloud.discoveryengine.v1alpha.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSchemaRequest other)
public UpdateSchemaRequest.Builder mergeFrom(UpdateSchemaRequest other)
public UpdateSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSchemaRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllowMissing(boolean value)
public UpdateSchemaRequest.Builder setAllowMissing(boolean value)
If set to true, and the
Schema is not found, a new
Schema will be created. In
this situation, update_mask
is ignored.
bool allow_missing = 3;
Parameter |
Name |
Description |
value |
boolean
The allowMissing to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides