public static final class UpdateCorpusRequest.Builder extends GeneratedMessageV3.Builder<UpdateCorpusRequest.Builder> implements UpdateCorpusRequestOrBuilder
Request message for UpdateCorpus.
Protobuf type google.cloud.visionai.v1.UpdateCorpusRequest
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 UpdateCorpusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCorpusRequest build()
buildPartial()
public UpdateCorpusRequest buildPartial()
clear()
public UpdateCorpusRequest.Builder clear()
Overrides
clearCorpus()
public UpdateCorpusRequest.Builder clearCorpus()
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCorpusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCorpusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateCorpusRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateCorpusRequest.Builder clone()
Overrides
getCorpus()
public Corpus getCorpus()
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Corpus |
The corpus.
|
getCorpusBuilder()
public Corpus.Builder getCorpusBuilder()
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
getCorpusOrBuilder()
public CorpusOrBuilder getCorpusOrBuilder()
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCorpusRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
hasCorpus()
public boolean hasCorpus()
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the corpus field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCorpus(Corpus value)
public UpdateCorpusRequest.Builder mergeCorpus(Corpus value)
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Corpus
|
mergeFrom(UpdateCorpusRequest other)
public UpdateCorpusRequest.Builder mergeFrom(UpdateCorpusRequest other)
public UpdateCorpusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCorpusRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCorpusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCorpusRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
setCorpus(Corpus value)
public UpdateCorpusRequest.Builder setCorpus(Corpus value)
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Corpus
|
setCorpus(Corpus.Builder builderForValue)
public UpdateCorpusRequest.Builder setCorpus(Corpus.Builder builderForValue)
Required. The corpus which replaces the resource on the server.
.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCorpusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCorpusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCorpusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateCorpusRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCorpusRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|