Class CreateEvaluationExpectationRequest.Builder (0.3.0)

public static final class CreateEvaluationExpectationRequest.Builder extends GeneratedMessage.Builder<CreateEvaluationExpectationRequest.Builder> implements CreateEvaluationExpectationRequestOrBuilder

Request message for EvaluationService.CreateEvaluationExpectation.

Protobuf type google.cloud.ces.v1beta.CreateEvaluationExpectationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateEvaluationExpectationRequest build()
Returns
Type Description
CreateEvaluationExpectationRequest

buildPartial()

public CreateEvaluationExpectationRequest buildPartial()
Returns
Type Description
CreateEvaluationExpectationRequest

clear()

public CreateEvaluationExpectationRequest.Builder clear()
Returns
Type Description
CreateEvaluationExpectationRequest.Builder
Overrides

clearEvaluationExpectation()

public CreateEvaluationExpectationRequest.Builder clearEvaluationExpectation()

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

clearEvaluationExpectationId()

public CreateEvaluationExpectationRequest.Builder clearEvaluationExpectationId()

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

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

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

This builder for chaining.

clearParent()

public CreateEvaluationExpectationRequest.Builder clearParent()

Required. The app to create the evaluation expectation for. Format: projects/{project}/locations/{location}/apps/{app}

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

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateEvaluationExpectationRequest getDefaultInstanceForType()
Returns
Type Description
CreateEvaluationExpectationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvaluationExpectation()

public EvaluationExpectation getEvaluationExpectation()

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationExpectation

The evaluationExpectation.

getEvaluationExpectationBuilder()

public EvaluationExpectation.Builder getEvaluationExpectationBuilder()

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationExpectation.Builder

getEvaluationExpectationId()

public String getEvaluationExpectationId()

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

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

Returns
Type Description
String

The evaluationExpectationId.

getEvaluationExpectationIdBytes()

public ByteString getEvaluationExpectationIdBytes()

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

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

Returns
Type Description
ByteString

The bytes for evaluationExpectationId.

getEvaluationExpectationOrBuilder()

public EvaluationExpectationOrBuilder getEvaluationExpectationOrBuilder()

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationExpectationOrBuilder

getParent()

public String getParent()

Required. The app to create the evaluation expectation for. Format: projects/{project}/locations/{location}/apps/{app}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The app to create the evaluation expectation for. Format: projects/{project}/locations/{location}/apps/{app}

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

Returns
Type Description
ByteString

The bytes for parent.

hasEvaluationExpectation()

public boolean hasEvaluationExpectation()

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the evaluationExpectation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEvaluationExpectation(EvaluationExpectation value)

public CreateEvaluationExpectationRequest.Builder mergeEvaluationExpectation(EvaluationExpectation value)

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EvaluationExpectation
Returns
Type Description
CreateEvaluationExpectationRequest.Builder

mergeFrom(CreateEvaluationExpectationRequest other)

public CreateEvaluationExpectationRequest.Builder mergeFrom(CreateEvaluationExpectationRequest other)
Parameter
Name Description
other CreateEvaluationExpectationRequest
Returns
Type Description
CreateEvaluationExpectationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateEvaluationExpectationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateEvaluationExpectationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateEvaluationExpectationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateEvaluationExpectationRequest.Builder
Overrides

setEvaluationExpectation(EvaluationExpectation value)

public CreateEvaluationExpectationRequest.Builder setEvaluationExpectation(EvaluationExpectation value)

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EvaluationExpectation
Returns
Type Description
CreateEvaluationExpectationRequest.Builder

setEvaluationExpectation(EvaluationExpectation.Builder builderForValue)

public CreateEvaluationExpectationRequest.Builder setEvaluationExpectation(EvaluationExpectation.Builder builderForValue)

Required. The evaluation expectation to create.

.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EvaluationExpectation.Builder
Returns
Type Description
CreateEvaluationExpectationRequest.Builder

setEvaluationExpectationId(String value)

public CreateEvaluationExpectationRequest.Builder setEvaluationExpectationId(String value)

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

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

Parameter
Name Description
value String

The evaluationExpectationId to set.

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

This builder for chaining.

setEvaluationExpectationIdBytes(ByteString value)

public CreateEvaluationExpectationRequest.Builder setEvaluationExpectationIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for evaluationExpectationId to set.

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

This builder for chaining.

setParent(String value)

public CreateEvaluationExpectationRequest.Builder setParent(String value)

Required. The app to create the evaluation expectation for. Format: projects/{project}/locations/{location}/apps/{app}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEvaluationExpectationRequest.Builder setParentBytes(ByteString value)

Required. The app to create the evaluation expectation for. Format: projects/{project}/locations/{location}/apps/{app}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateEvaluationExpectationRequest.Builder

This builder for chaining.