public static final class CreateCollectionMetadata.Builder extends GeneratedMessageV3.Builder<CreateCollectionMetadata.Builder> implements CreateCollectionMetadataOrBuilder
Metadata message for CreateCollectionRequest
Protobuf type google.cloud.visionai.v1.CreateCollectionMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateCollectionMetadata.BuilderImplements
CreateCollectionMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCollectionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
build()
public CreateCollectionMetadata build()
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata |
buildPartial()
public CreateCollectionMetadata buildPartial()
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata |
clear()
public CreateCollectionMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateCollectionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCollectionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
clearOperationMetadata()
public CreateCollectionMetadata.Builder clearOperationMetadata()
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
clone()
public CreateCollectionMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
getDefaultInstanceForType()
public CreateCollectionMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOperationMetadata()
public OperationMetadata getOperationMetadata()
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Returns | |
---|---|
Type | Description |
OperationMetadata |
The operationMetadata. |
getOperationMetadataBuilder()
public OperationMetadata.Builder getOperationMetadataBuilder()
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Returns | |
---|---|
Type | Description |
OperationMetadata.Builder |
getOperationMetadataOrBuilder()
public OperationMetadataOrBuilder getOperationMetadataOrBuilder()
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Returns | |
---|---|
Type | Description |
OperationMetadataOrBuilder |
hasOperationMetadata()
public boolean hasOperationMetadata()
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the operationMetadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateCollectionMetadata other)
public CreateCollectionMetadata.Builder mergeFrom(CreateCollectionMetadata other)
Parameter | |
---|---|
Name | Description |
other |
CreateCollectionMetadata |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCollectionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateCollectionMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
mergeOperationMetadata(OperationMetadata value)
public CreateCollectionMetadata.Builder mergeOperationMetadata(OperationMetadata value)
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Parameter | |
---|---|
Name | Description |
value |
OperationMetadata |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCollectionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCollectionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
setOperationMetadata(OperationMetadata value)
public CreateCollectionMetadata.Builder setOperationMetadata(OperationMetadata value)
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Parameter | |
---|---|
Name | Description |
value |
OperationMetadata |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
setOperationMetadata(OperationMetadata.Builder builderForValue)
public CreateCollectionMetadata.Builder setOperationMetadata(OperationMetadata.Builder builderForValue)
Common metadata of the long-running operation.
.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
OperationMetadata.Builder |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCollectionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCollectionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateCollectionMetadata.Builder |