Class ReadReportRequest.Builder (0.1.0)

public static final class ReadReportRequest.Builder extends GeneratedMessage.Builder<ReadReportRequest.Builder> implements ReadReportRequestOrBuilder

Request message for the ReadReport method.

Protobuf type google.cloud.appoptimize.v1beta.ReadReportRequest

Static Methods

getDescriptor()

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

Methods

build()

public ReadReportRequest build()
Returns
Type Description
ReadReportRequest

buildPartial()

public ReadReportRequest buildPartial()
Returns
Type Description
ReadReportRequest

clear()

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

clearName()

public ReadReportRequest.Builder clearName()

Required. The resource name of the report to query.

Format: projects/{project}/locations/{location}/reports/{report_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

clearPageSize()

public ReadReportRequest.Builder clearPageSize()

Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 10,000 rows will be returned per page. The maximum allowed value is 25,000; values above 25,000 are coerced to 25,000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

clearPageToken()

public ReadReportRequest.Builder clearPageToken()

Optional. A page token, received from a previous ReadReport call, to retrieve the subsequent page of results. When page_token is specified, job_reference must also be provided from the previous response, and the statement field must not be set.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReadReportRequest getDefaultInstanceForType()
Returns
Type Description
ReadReportRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the report to query.

Format: projects/{project}/locations/{location}/reports/{report_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the report to query.

Format: projects/{project}/locations/{location}/reports/{report_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 10,000 rows will be returned per page. The maximum allowed value is 25,000; values above 25,000 are coerced to 25,000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ReadReport call, to retrieve the subsequent page of results. When page_token is specified, job_reference must also be provided from the previous response, and the statement field must not be set.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ReadReport call, to retrieve the subsequent page of results. When page_token is specified, job_reference must also be provided from the previous response, and the statement field must not be set.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadReportRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public ReadReportRequest.Builder setName(String value)

Required. The resource name of the report to query.

Format: projects/{project}/locations/{location}/reports/{report_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReadReportRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the report to query.

Format: projects/{project}/locations/{location}/reports/{report_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

setPageSize(int value)

public ReadReportRequest.Builder setPageSize(int value)

Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 10,000 rows will be returned per page. The maximum allowed value is 25,000; values above 25,000 are coerced to 25,000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

setPageToken(String value)

public ReadReportRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ReadReport call, to retrieve the subsequent page of results. When page_token is specified, job_reference must also be provided from the previous response, and the statement field must not be set.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ReadReportRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ReadReport call, to retrieve the subsequent page of results. When page_token is specified, job_reference must also be provided from the previous response, and the statement field must not be set.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ReadReportRequest.Builder

This builder for chaining.