Interface CreateExampleRequestOrBuilder (0.1.0)

public interface CreateExampleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExample()

public abstract Example getExample()

Required. The example to create.

.google.cloud.ces.v1.Example example = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Example

The example.

getExampleId()

public abstract String getExampleId()

Optional. The ID to use for the example, which will become the final component of the example's resource name. If not provided, a unique ID will be automatically assigned for the example.

string example_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The exampleId.

getExampleIdBytes()

public abstract ByteString getExampleIdBytes()

Optional. The ID to use for the example, which will become the final component of the example's resource name. If not provided, a unique ID will be automatically assigned for the example.

string example_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for exampleId.

getExampleOrBuilder()

public abstract ExampleOrBuilder getExampleOrBuilder()

Required. The example to create.

.google.cloud.ces.v1.Example example = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the app to create an example in.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the app to create an example in.

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

Returns
Type Description
ByteString

The bytes for parent.

hasExample()

public abstract boolean hasExample()

Required. The example to create.

.google.cloud.ces.v1.Example example = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the example field is set.