Send feedback
Class CreateCorpusMetadata.Builder (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.0 keyboard_arrow_down
public static final class CreateCorpusMetadata . Builder extends GeneratedMessageV3 . Builder<CreateCorpusMetadata . Builder > implements CreateCorpusMetadataOrBuilder
Metadata for CreateCorpus API.
Protobuf type google.cloud.visionai.v1.CreateCorpusMetadata
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
public static final Descriptors . Descriptor getDescriptor ()
Methods
public CreateCorpusMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public CreateCorpusMetadata build ()
public CreateCorpusMetadata buildPartial ()
public CreateCorpusMetadata . Builder clear ()
Overrides
public CreateCorpusMetadata . Builder clearCreateTime ()
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
public CreateCorpusMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public CreateCorpusMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public CreateCorpusMetadata . Builder clearUpdateTime ()
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
public CreateCorpusMetadata . Builder clone ()
Overrides
public Timestamp getCreateTime ()
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
Returns
Type
Description
Timestamp
The createTime.
public Timestamp . Builder getCreateTimeBuilder ()
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
public TimestampOrBuilder getCreateTimeOrBuilder ()
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
public CreateCorpusMetadata getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public Timestamp getUpdateTime ()
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
Returns
Type
Description
Timestamp
The updateTime.
public Timestamp . Builder getUpdateTimeBuilder ()
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
public TimestampOrBuilder getUpdateTimeOrBuilder ()
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
public boolean hasCreateTime ()
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
Returns
Type
Description
boolean
Whether the createTime field is set.
public boolean hasUpdateTime ()
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
Returns
Type
Description
boolean
Whether the updateTime field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public CreateCorpusMetadata . Builder mergeCreateTime ( Timestamp value )
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
public CreateCorpusMetadata . Builder mergeFrom ( CreateCorpusMetadata other )
public CreateCorpusMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public CreateCorpusMetadata . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final CreateCorpusMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public CreateCorpusMetadata . Builder mergeUpdateTime ( Timestamp value )
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
public CreateCorpusMetadata . Builder setCreateTime ( Timestamp value )
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
public CreateCorpusMetadata . Builder setCreateTime ( Timestamp . Builder builderForValue )
The create time of the create corpus operation.
.google.protobuf.Timestamp create_time = 2;
Parameter
Name
Description
builderForValue
Builder
public CreateCorpusMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public CreateCorpusMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final CreateCorpusMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public CreateCorpusMetadata . Builder setUpdateTime ( Timestamp value )
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
public CreateCorpusMetadata . Builder setUpdateTime ( Timestamp . Builder builderForValue )
The update time of the create corpus operation.
.google.protobuf.Timestamp update_time = 3;
Parameter
Name
Description
builderForValue
Builder
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-28 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-28 UTC."],[],[]]