Interface CreateCorpusRequestOrBuilder (0.10.0)

public interface CreateCorpusRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCorpus()

public abstract Corpus getCorpus()

Required. The corpus to be created.

.google.cloud.visionai.v1.Corpus corpus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Corpus

The corpus.

getCorpusOrBuilder()

public abstract CorpusOrBuilder getCorpusOrBuilder()

Required. The corpus to be created.

.google.cloud.visionai.v1.Corpus corpus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CorpusOrBuilder

getParent()

public abstract String getParent()

Required. Form: projects/{project_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Form: projects/{project_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

hasCorpus()

public abstract boolean hasCorpus()

Required. The corpus to be created.

.google.cloud.visionai.v1.Corpus corpus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the corpus field is set.