public static final class ListReportsRequest.Builder extends GeneratedMessage.Builder<ListReportsRequest.Builder> implements ListReportsRequestOrBuilder Request message for the ListReports method.
Protobuf type google.cloud.appoptimize.v1beta.ListReportsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListReportsRequest.BuilderImplements
ListReportsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListReportsRequest build()| Returns | |
|---|---|
| Type | Description |
ListReportsRequest |
|
buildPartial()
public ListReportsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListReportsRequest |
|
clear()
public ListReportsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
|
clearPageSize()
public ListReportsRequest.Builder clearPageSize()Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListReportsRequest.Builder clearPageToken() Optional. A page token, received from a previous ListReports call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReports must match
the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
clearParent()
public ListReportsRequest.Builder clearParent()Required. The parent project whose reports are to be listed.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListReportsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListReportsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous ListReports call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReports must match
the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous ListReports call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReports must match
the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The parent project whose reports are to be listed.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent project whose reports are to be listed.
Format: projects/{project}/locations/{location}.
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(ListReportsRequest other)
public ListReportsRequest.Builder mergeFrom(ListReportsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListReportsRequest |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListReportsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListReportsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
|
setPageSize(int value)
public ListReportsRequest.Builder setPageSize(int value)Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListReportsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous ListReports call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReports must match
the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListReportsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous ListReports call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListReports must match
the call that provided the page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListReportsRequest.Builder setParent(String value)Required. The parent project whose reports are to be listed.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListReportsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListReportsRequest.Builder setParentBytes(ByteString value)Required. The parent project whose reports are to be listed.
Format: projects/{project}/locations/{location}.
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 |
ListReportsRequest.Builder |
This builder for chaining. |