Class ListReplayResultsRequest.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListReplayResultsRequest build()
Returns
TypeDescription
ListReplayResultsRequest

buildPartial()

public ListReplayResultsRequest buildPartial()
Returns
TypeDescription
ListReplayResultsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListReplayResultsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListReplayResultsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReplayResultsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListReplayResultsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListReplayResultsRequest other)

public ListReplayResultsRequest.Builder mergeFrom(ListReplayResultsRequest other)
Parameter
NameDescription
otherListReplayResultsRequest
Returns
TypeDescription
ListReplayResultsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListReplayResultsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListReplayResultsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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