Class ListReplayResultsResponse.Builder (0.16.0)

public static final class ListReplayResultsResponse.Builder extends GeneratedMessageV3.Builder<ListReplayResultsResponse.Builder> implements ListReplayResultsResponseOrBuilder

Response message for Simulator.ListReplayResults.

Protobuf type google.cloud.policysimulator.v1.ListReplayResultsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllReplayResults(Iterable<? extends ReplayResult> values)

public ListReplayResultsResponse.Builder addAllReplayResults(Iterable<? extends ReplayResult> values)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.policysimulator.v1.ReplayResult>
Returns
TypeDescription
ListReplayResultsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReplayResults(ReplayResult value)

public ListReplayResultsResponse.Builder addReplayResults(ReplayResult value)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
valueReplayResult
Returns
TypeDescription
ListReplayResultsResponse.Builder

addReplayResults(ReplayResult.Builder builderForValue)

public ListReplayResultsResponse.Builder addReplayResults(ReplayResult.Builder builderForValue)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
builderForValueReplayResult.Builder
Returns
TypeDescription
ListReplayResultsResponse.Builder

addReplayResults(int index, ReplayResult value)

public ListReplayResultsResponse.Builder addReplayResults(int index, ReplayResult value)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameters
NameDescription
indexint
valueReplayResult
Returns
TypeDescription
ListReplayResultsResponse.Builder

addReplayResults(int index, ReplayResult.Builder builderForValue)

public ListReplayResultsResponse.Builder addReplayResults(int index, ReplayResult.Builder builderForValue)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameters
NameDescription
indexint
builderForValueReplayResult.Builder
Returns
TypeDescription
ListReplayResultsResponse.Builder

addReplayResultsBuilder()

public ReplayResult.Builder addReplayResultsBuilder()

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Returns
TypeDescription
ReplayResult.Builder

addReplayResultsBuilder(int index)

public ReplayResult.Builder addReplayResultsBuilder(int index)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplayResult.Builder

build()

public ListReplayResultsResponse build()
Returns
TypeDescription
ListReplayResultsResponse

buildPartial()

public ListReplayResultsResponse buildPartial()
Returns
TypeDescription
ListReplayResultsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListReplayResultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListReplayResultsResponse.Builder
Overrides

clearNextPageToken()

public ListReplayResultsResponse.Builder clearNextPageToken()

A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListReplayResultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplayResults()

public ListReplayResultsResponse.Builder clearReplayResults()

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Returns
TypeDescription
ListReplayResultsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListReplayResultsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReplayResultsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getReplayResults(int index)

public ReplayResult getReplayResults(int index)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplayResult

getReplayResultsBuilder(int index)

public ReplayResult.Builder getReplayResultsBuilder(int index)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplayResult.Builder

getReplayResultsBuilderList()

public List<ReplayResult.Builder> getReplayResultsBuilderList()

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Returns
TypeDescription
List<Builder>

getReplayResultsCount()

public int getReplayResultsCount()

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Returns
TypeDescription
int

getReplayResultsList()

public List<ReplayResult> getReplayResultsList()

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Returns
TypeDescription
List<ReplayResult>

getReplayResultsOrBuilder(int index)

public ReplayResultOrBuilder getReplayResultsOrBuilder(int index)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplayResultOrBuilder

getReplayResultsOrBuilderList()

public List<? extends ReplayResultOrBuilder> getReplayResultsOrBuilderList()

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.policysimulator.v1.ReplayResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListReplayResultsResponse other)

public ListReplayResultsResponse.Builder mergeFrom(ListReplayResultsResponse other)
Parameter
NameDescription
otherListReplayResultsResponse
Returns
TypeDescription
ListReplayResultsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReplayResults(int index)

public ListReplayResultsResponse.Builder removeReplayResults(int index)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListReplayResultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListReplayResultsResponse.Builder setNextPageToken(String value)

A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListReplayResultsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListReplayResultsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListReplayResultsResponse.Builder

This builder for chaining.

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

public ListReplayResultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListReplayResultsResponse.Builder
Overrides

setReplayResults(int index, ReplayResult value)

public ListReplayResultsResponse.Builder setReplayResults(int index, ReplayResult value)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameters
NameDescription
indexint
valueReplayResult
Returns
TypeDescription
ListReplayResultsResponse.Builder

setReplayResults(int index, ReplayResult.Builder builderForValue)

public ListReplayResultsResponse.Builder setReplayResults(int index, ReplayResult.Builder builderForValue)

The results of running a Replay.

repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;

Parameters
NameDescription
indexint
builderForValueReplayResult.Builder
Returns
TypeDescription
ListReplayResultsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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