Class ResultStorage.Builder (0.16.0)

public static final class ResultStorage.Builder extends GeneratedMessageV3.Builder<ResultStorage.Builder> implements ResultStorageOrBuilder

Locations where test results are stored.

Protobuf type google.events.firebase.testlab.v1.ResultStorage

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResultStorage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResultStorage.Builder
Overrides

build()

public ResultStorage build()
Returns
Type Description
ResultStorage

buildPartial()

public ResultStorage buildPartial()
Returns
Type Description
ResultStorage

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ResultStorage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResultStorage.Builder
Overrides

clearGcsPath()

public ResultStorage.Builder clearGcsPath()

Location in Google Cloud Storage where test results are written to. In the form "gs://bucket/path/to/somewhere".

string gcs_path = 4;

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResultStorage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResultStorage.Builder
Overrides

clearResultsUri()

public ResultStorage.Builder clearResultsUri()

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

clearToolResultsExecution()

public ResultStorage.Builder clearToolResultsExecution()

Tool Results execution resource containing test results. Format is projects/{project_id}/histories/{history_id}/executions/{execution_id}. Optional, can be omitted in erroneous test states. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_execution = 2;

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

clearToolResultsHistory()

public ResultStorage.Builder clearToolResultsHistory()

Tool Results history resource containing test results. Format is projects/{project_id}/histories/{history_id}. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_history = 1;

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

clone()

public ResultStorage.Builder clone()
Returns
Type Description
ResultStorage.Builder
Overrides

getDefaultInstanceForType()

public ResultStorage getDefaultInstanceForType()
Returns
Type Description
ResultStorage

getDescriptorForType()

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

getGcsPath()

public String getGcsPath()

Location in Google Cloud Storage where test results are written to. In the form "gs://bucket/path/to/somewhere".

string gcs_path = 4;

Returns
Type Description
String

The gcsPath.

getGcsPathBytes()

public ByteString getGcsPathBytes()

Location in Google Cloud Storage where test results are written to. In the form "gs://bucket/path/to/somewhere".

string gcs_path = 4;

Returns
Type Description
ByteString

The bytes for gcsPath.

getResultsUri()

public String getResultsUri()

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Returns
Type Description
String

The resultsUri.

getResultsUriBytes()

public ByteString getResultsUriBytes()

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Returns
Type Description
ByteString

The bytes for resultsUri.

getToolResultsExecution()

public String getToolResultsExecution()

Tool Results execution resource containing test results. Format is projects/{project_id}/histories/{history_id}/executions/{execution_id}. Optional, can be omitted in erroneous test states. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_execution = 2;

Returns
Type Description
String

The toolResultsExecution.

getToolResultsExecutionBytes()

public ByteString getToolResultsExecutionBytes()

Tool Results execution resource containing test results. Format is projects/{project_id}/histories/{history_id}/executions/{execution_id}. Optional, can be omitted in erroneous test states. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_execution = 2;

Returns
Type Description
ByteString

The bytes for toolResultsExecution.

getToolResultsHistory()

public String getToolResultsHistory()

Tool Results history resource containing test results. Format is projects/{project_id}/histories/{history_id}. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_history = 1;

Returns
Type Description
String

The toolResultsHistory.

getToolResultsHistoryBytes()

public ByteString getToolResultsHistoryBytes()

Tool Results history resource containing test results. Format is projects/{project_id}/histories/{history_id}. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_history = 1;

Returns
Type Description
ByteString

The bytes for toolResultsHistory.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResultStorage other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResultStorage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResultStorage.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResultStorage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResultStorage.Builder
Overrides

setGcsPath(String value)

public ResultStorage.Builder setGcsPath(String value)

Location in Google Cloud Storage where test results are written to. In the form "gs://bucket/path/to/somewhere".

string gcs_path = 4;

Parameter
Name Description
value String

The gcsPath to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setGcsPathBytes(ByteString value)

public ResultStorage.Builder setGcsPathBytes(ByteString value)

Location in Google Cloud Storage where test results are written to. In the form "gs://bucket/path/to/somewhere".

string gcs_path = 4;

Parameter
Name Description
value ByteString

The bytes for gcsPath to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResultStorage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResultStorage.Builder
Overrides

setResultsUri(String value)

public ResultStorage.Builder setResultsUri(String value)

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Parameter
Name Description
value String

The resultsUri to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setResultsUriBytes(ByteString value)

public ResultStorage.Builder setResultsUriBytes(ByteString value)

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Parameter
Name Description
value ByteString

The bytes for resultsUri to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setToolResultsExecution(String value)

public ResultStorage.Builder setToolResultsExecution(String value)

Tool Results execution resource containing test results. Format is projects/{project_id}/histories/{history_id}/executions/{execution_id}. Optional, can be omitted in erroneous test states. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_execution = 2;

Parameter
Name Description
value String

The toolResultsExecution to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setToolResultsExecutionBytes(ByteString value)

public ResultStorage.Builder setToolResultsExecutionBytes(ByteString value)

Tool Results execution resource containing test results. Format is projects/{project_id}/histories/{history_id}/executions/{execution_id}. Optional, can be omitted in erroneous test states. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_execution = 2;

Parameter
Name Description
value ByteString

The bytes for toolResultsExecution to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setToolResultsHistory(String value)

public ResultStorage.Builder setToolResultsHistory(String value)

Tool Results history resource containing test results. Format is projects/{project_id}/histories/{history_id}. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_history = 1;

Parameter
Name Description
value String

The toolResultsHistory to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setToolResultsHistoryBytes(ByteString value)

public ResultStorage.Builder setToolResultsHistoryBytes(ByteString value)

Tool Results history resource containing test results. Format is projects/{project_id}/histories/{history_id}. See https://firebase.google.com/docs/test-lab/reference/toolresults/rest for more information.

string tool_results_history = 1;

Parameter
Name Description
value ByteString

The bytes for toolResultsHistory to set.

Returns
Type Description
ResultStorage.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResultStorage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResultStorage.Builder
Overrides