Interface CreateRecognizerRequestOrBuilder (4.50.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the recognizer field is set.