Class ResultStorage.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResultStorage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResultStorage.Builder
Overrides

build()

public ResultStorage build()
Returns
TypeDescription
ResultStorage

buildPartial()

public ResultStorage buildPartial()
Returns
TypeDescription
ResultStorage

clear()

public ResultStorage.Builder clear()
Returns
TypeDescription
ResultStorage.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResultStorage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ResultStorage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResultStorage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResultStorage.Builder
Overrides

clearResultsUri()

public ResultStorage.Builder clearResultsUri()

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ResultStorage.Builder

This builder for chaining.

clone()

public ResultStorage.Builder clone()
Returns
TypeDescription
ResultStorage.Builder
Overrides

getDefaultInstanceForType()

public ResultStorage getDefaultInstanceForType()
Returns
TypeDescription
ResultStorage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsPath.

getResultsUri()

public String getResultsUri()

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Returns
TypeDescription
String

The resultsUri.

getResultsUriBytes()

public ByteString getResultsUriBytes()

URI to the test results in the Firebase Web Console.

string results_uri = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for toolResultsHistory.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResultStorage other)

public ResultStorage.Builder mergeFrom(ResultStorage other)
Parameter
NameDescription
otherResultStorage
Returns
TypeDescription
ResultStorage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResultStorage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResultStorage.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResultStorage.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResultStorage.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResultStorage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResultStorage.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResultStorage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resultsUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resultsUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The toolResultsExecution to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for toolResultsExecution to set.

Returns
TypeDescription
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
NameDescription
valueString

The toolResultsHistory to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for toolResultsHistory to set.

Returns
TypeDescription
ResultStorage.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResultStorage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResultStorage.Builder
Overrides