Class CreateBacktestResultRequest.Builder (0.24.0)

public static final class CreateBacktestResultRequest.Builder extends GeneratedMessage.Builder<CreateBacktestResultRequest.Builder> implements CreateBacktestResultRequestOrBuilder

Request for creating a BacktestResult resource.

Protobuf type google.cloud.financialservices.v1.CreateBacktestResultRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateBacktestResultRequest build()
Returns
Type Description
CreateBacktestResultRequest

buildPartial()

public CreateBacktestResultRequest buildPartial()
Returns
Type Description
CreateBacktestResultRequest

clear()

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

clearBacktestResult()

public CreateBacktestResultRequest.Builder clearBacktestResult()

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBacktestResultRequest.Builder

clearBacktestResultId()

public CreateBacktestResultRequest.Builder clearBacktestResultId()

Required. The resource id of the BacktestResult

string backtest_result_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

clearParent()

public CreateBacktestResultRequest.Builder clearParent()

Required. The parent of the BacktestResult is the Instance.

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

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

clearRequestId()

public CreateBacktestResultRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

getBacktestResult()

public BacktestResult getBacktestResult()

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BacktestResult

The backtestResult.

getBacktestResultBuilder()

public BacktestResult.Builder getBacktestResultBuilder()

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BacktestResult.Builder

getBacktestResultId()

public String getBacktestResultId()

Required. The resource id of the BacktestResult

string backtest_result_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The backtestResultId.

getBacktestResultIdBytes()

public ByteString getBacktestResultIdBytes()

Required. The resource id of the BacktestResult

string backtest_result_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for backtestResultId.

getBacktestResultOrBuilder()

public BacktestResultOrBuilder getBacktestResultOrBuilder()

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BacktestResultOrBuilder

getDefaultInstanceForType()

public CreateBacktestResultRequest getDefaultInstanceForType()
Returns
Type Description
CreateBacktestResultRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent of the BacktestResult is the Instance.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent of the BacktestResult is the Instance.

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

hasBacktestResult()

public boolean hasBacktestResult()

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backtestResult field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBacktestResult(BacktestResult value)

public CreateBacktestResultRequest.Builder mergeBacktestResult(BacktestResult value)

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BacktestResult
Returns
Type Description
CreateBacktestResultRequest.Builder

mergeFrom(CreateBacktestResultRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBacktestResult(BacktestResult value)

public CreateBacktestResultRequest.Builder setBacktestResult(BacktestResult value)

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BacktestResult
Returns
Type Description
CreateBacktestResultRequest.Builder

setBacktestResult(BacktestResult.Builder builderForValue)

public CreateBacktestResultRequest.Builder setBacktestResult(BacktestResult.Builder builderForValue)

Required. The BacktestResult that will be created.

.google.cloud.financialservices.v1.BacktestResult backtest_result = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BacktestResult.Builder
Returns
Type Description
CreateBacktestResultRequest.Builder

setBacktestResultId(String value)

public CreateBacktestResultRequest.Builder setBacktestResultId(String value)

Required. The resource id of the BacktestResult

string backtest_result_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The backtestResultId to set.

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

setBacktestResultIdBytes(ByteString value)

public CreateBacktestResultRequest.Builder setBacktestResultIdBytes(ByteString value)

Required. The resource id of the BacktestResult

string backtest_result_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for backtestResultId to set.

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

setParent(String value)

public CreateBacktestResultRequest.Builder setParent(String value)

Required. The parent of the BacktestResult is the Instance.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateBacktestResultRequest.Builder setParentBytes(ByteString value)

Required. The parent of the BacktestResult is the Instance.

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
CreateBacktestResultRequest.Builder

This builder for chaining.

setRequestId(String value)

public CreateBacktestResultRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateBacktestResultRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateBacktestResultRequest.Builder

This builder for chaining.