Interface CreateRecognizerRequestOrBuilder (4.29.0)

public interface CreateRecognizerRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The project and location where this Recognizer will be created. The expected format is projects/{project}/locations/{location}.

string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project and location where this Recognizer will be created. The expected format is projects/{project}/locations/{location}.

string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRecognizer()

public abstract Recognizer getRecognizer()

Required. The Recognizer to create.

.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Recognizer

The recognizer.

getRecognizerId()

public abstract String getRecognizerId()

The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

string recognizer_id = 3;

Returns
TypeDescription
String

The recognizerId.

getRecognizerIdBytes()

public abstract ByteString getRecognizerIdBytes()

The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

string recognizer_id = 3;

Returns
TypeDescription
ByteString

The bytes for recognizerId.

getRecognizerOrBuilder()

public abstract RecognizerOrBuilder getRecognizerOrBuilder()

Required. The Recognizer to create.

.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RecognizerOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

If set, validate the request and preview the Recognizer, but do not actually create it.

bool validate_only = 2;

Returns
TypeDescription
boolean

The validateOnly.

hasRecognizer()

public abstract boolean hasRecognizer()

Required. The Recognizer to create.

.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the recognizer field is set.