public static final class CreateBacktestResultRequest.Builder extends GeneratedMessageV3.Builder<CreateBacktestResultRequest.Builder> implements CreateBacktestResultRequestOrBuilder
Request for creating a BacktestResult resource.
Protobuf type google.cloud.financialservices.v1.CreateBacktestResultRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateBacktestResultRequest.BuilderImplements
CreateBacktestResultRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateBacktestResultRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public CreateBacktestResultRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBacktestResultRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
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. |
clone()
public CreateBacktestResultRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateBacktestResultRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBacktestResultRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBacktestResultRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBacktestResultRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBacktestResultRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateBacktestResultRequest.Builder |