Send feedback
Class UpdateSchemaRequest.Builder (0.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.23.0 keyboard_arrow_down
public static final class UpdateSchemaRequest . Builder extends GeneratedMessageV3 . Builder<UpdateSchemaRequest . Builder > implements UpdateSchemaRequestOrBuilder
Request message for
SchemaService.UpdateSchema
method.
Protobuf type google.cloud.discoveryengine.v1.UpdateSchemaRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.v1.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.v1.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.v1.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder ()
Required. The Schema to update.
.google.cloud.discoveryengine.v1.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
hasSchema()
public boolean hasSchema ()
Required. The Schema to update.
.google.cloud.discoveryengine.v1.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.v1.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.v1.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.v1.Schema schema = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSchemaRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]