Class ListReplayResultsResponse.Builder (0.21.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.policysimulator.v1.ReplayResult>
Returns
Type Description
ListReplayResultsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReplayResultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value ReplayResult
Returns
Type Description
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
Name Description
builderForValue ReplayResult.Builder
Returns
Type Description
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
Name Description
index int
value ReplayResult
Returns
Type Description
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
Name Description
index int
builderForValue ReplayResult.Builder
Returns
Type Description
ListReplayResultsResponse.Builder

addReplayResultsBuilder()

public ReplayResult.Builder addReplayResultsBuilder()

The results of running a Replay.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ReplayResult.Builder

build()

public ListReplayResultsResponse build()
Returns
Type Description
ListReplayResultsResponse

buildPartial()

public ListReplayResultsResponse buildPartial()
Returns
Type Description
ListReplayResultsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListReplayResultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListReplayResultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplayResults()

public ListReplayResultsResponse.Builder clearReplayResults()

The results of running a Replay.

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

Returns
Type Description
ListReplayResultsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListReplayResultsResponse getDefaultInstanceForType()
Returns
Type Description
ListReplayResultsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ReplayResult.Builder

getReplayResultsBuilderList()

public List<ReplayResult.Builder> getReplayResultsBuilderList()

The results of running a Replay.

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

Returns
Type Description
List<Builder>

getReplayResultsCount()

public int getReplayResultsCount()

The results of running a Replay.

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

Returns
Type Description
int

getReplayResultsList()

public List<ReplayResult> getReplayResultsList()

The results of running a Replay.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ReplayResultOrBuilder

getReplayResultsOrBuilderList()

public List<? extends ReplayResultOrBuilder> getReplayResultsOrBuilderList()

The results of running a Replay.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReplayResultsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListReplayResultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListReplayResultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListReplayResultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value ReplayResult
Returns
Type Description
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
Name Description
index int
builderForValue ReplayResult.Builder
Returns
Type Description
ListReplayResultsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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