Class ListReplayResultsRequest.Builder (0.23.0)

public static final class ListReplayResultsRequest.Builder extends GeneratedMessageV3.Builder<ListReplayResultsRequest.Builder> implements ListReplayResultsRequestOrBuilder

Request message for Simulator.ListReplayResults.

Protobuf type google.cloud.policysimulator.v1.ListReplayResultsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReplayResultsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListReplayResultsRequest.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListReplayResultsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListReplayResultsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

getDefaultInstanceForType()

public ListReplayResultsRequest getDefaultInstanceForType()
Returns
Type Description
ListReplayResultsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListReplayResultsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListReplayResultsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListReplayResultsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListReplayResultsRequest.Builder
Overrides

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 int

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for parent to set.

Returns
Type Description
ListReplayResultsRequest.Builder

This builder for chaining.

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

public ListReplayResultsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListReplayResultsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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