public static final class ListReplayResultsRequest.Builder extends GeneratedMessage.Builder<ListReplayResultsRequest.Builder> implements ListReplayResultsRequestOrBuilderRequest message for Simulator.ListReplayResults.
Protobuf type google.cloud.policysimulator.v1.ListReplayResultsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListReplayResultsRequest.BuilderImplements
ListReplayResultsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListReplayResultsRequest build()| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest |
|
buildPartial()
public ListReplayResultsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest |
|
clear()
public ListReplayResultsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
|
clearPageSize()
public ListReplayResultsRequest.Builder clearPageSize()The maximum number of ReplayResult objects to return. Defaults to 5000.
The maximum value is 5000; values above 5000 are rounded down to 5000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListReplayResultsRequest.Builder clearPageToken()A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results.
When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
clearParent()
public ListReplayResultsRequest.Builder clearParent()Required. The Replay whose results are listed, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}
Example:
projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListReplayResultsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()The maximum number of ReplayResult objects to return. Defaults to 5000.
The maximum value is 5000; values above 5000 are rounded down to 5000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results.
When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results.
When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The Replay whose results are listed, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}
Example:
projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The Replay whose results are listed, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}
Example:
projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListReplayResultsRequest other)
public ListReplayResultsRequest.Builder mergeFrom(ListReplayResultsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListReplayResultsRequest |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListReplayResultsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListReplayResultsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
|
setPageSize(int value)
public ListReplayResultsRequest.Builder setPageSize(int value)The maximum number of ReplayResult objects to return. Defaults to 5000.
The maximum value is 5000; values above 5000 are rounded down to 5000.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListReplayResultsRequest.Builder setPageToken(String value)A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results.
When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListReplayResultsRequest.Builder setPageTokenBytes(ByteString value)A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results.
When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListReplayResultsRequest.Builder setParent(String value)Required. The Replay whose results are listed, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}
Example:
projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListReplayResultsRequest.Builder setParentBytes(ByteString value)Required. The Replay whose results are listed, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}
Example:
projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListReplayResultsRequest.Builder |
This builder for chaining. |