Class CreateCorpusMetadata.Builder (0.2.0)

public static final class CreateCorpusMetadata.Builder extends GeneratedMessageV3.Builder<CreateCorpusMetadata.Builder> implements CreateCorpusMetadataOrBuilder

Metadata for CreateCorpus API.

Protobuf type google.cloud.visionai.v1.CreateCorpusMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateCorpusMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

build()

public CreateCorpusMetadata build()
Returns
Type Description
CreateCorpusMetadata

buildPartial()

public CreateCorpusMetadata buildPartial()
Returns
Type Description
CreateCorpusMetadata

clear()

public CreateCorpusMetadata.Builder clear()
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

clearCreateTime()

public CreateCorpusMetadata.Builder clearCreateTime()

The create time of the create corpus operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
CreateCorpusMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateCorpusMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateCorpusMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

clearUpdateTime()

public CreateCorpusMetadata.Builder clearUpdateTime()

The update time of the create corpus operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
CreateCorpusMetadata.Builder

clone()

public CreateCorpusMetadata.Builder clone()
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

The create time of the create corpus operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The create time of the create corpus operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The create time of the create corpus operation.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateCorpusMetadata getDefaultInstanceForType()
Returns
Type Description
CreateCorpusMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

The update time of the create corpus operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The update time of the create corpus operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the create corpus operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

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.

hasUpdateTime()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public CreateCorpusMetadata.Builder mergeCreateTime(Timestamp value)

The create time of the create corpus operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateCorpusMetadata.Builder

mergeFrom(CreateCorpusMetadata other)

public CreateCorpusMetadata.Builder mergeFrom(CreateCorpusMetadata other)
Parameter
Name Description
other CreateCorpusMetadata
Returns
Type Description
CreateCorpusMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCorpusMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateCorpusMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCorpusMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

mergeUpdateTime(Timestamp value)

public CreateCorpusMetadata.Builder mergeUpdateTime(Timestamp value)

The update time of the create corpus operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateCorpusMetadata.Builder

setCreateTime(Timestamp value)

public CreateCorpusMetadata.Builder setCreateTime(Timestamp value)

The create time of the create corpus operation.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateCorpusMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

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
Returns
Type Description
CreateCorpusMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateCorpusMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateCorpusMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateCorpusMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCorpusMetadata.Builder
Overrides

setUpdateTime(Timestamp value)

public CreateCorpusMetadata.Builder setUpdateTime(Timestamp value)

The update time of the create corpus operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateCorpusMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

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
Returns
Type Description
CreateCorpusMetadata.Builder