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
|