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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReplayResultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addReplayResultsBuilder()
public ReplayResult.Builder addReplayResultsBuilder()
The results of running a Replay.
repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;
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
|
build()
public ListReplayResultsResponse build()
buildPartial()
public ListReplayResultsResponse buildPartial()
clear()
public ListReplayResultsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListReplayResultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReplayResultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReplayResults()
public ListReplayResultsResponse.Builder clearReplayResults()
The results of running a Replay.
repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;
clone()
public ListReplayResultsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListReplayResultsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getReplayResultsBuilderList()
public List<ReplayResult.Builder> getReplayResultsBuilderList()
The results of running a Replay.
repeated .google.cloud.policysimulator.v1.ReplayResult replay_results = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListReplayResultsResponse other)
public ListReplayResultsResponse.Builder mergeFrom(ListReplayResultsResponse other)
public ListReplayResultsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListReplayResultsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReplayResultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListReplayResultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListReplayResultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReplayResultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides