public static final class ListServicesRequest.Builder extends GeneratedMessageV3.Builder<ListServicesRequest.Builder> implements ListServicesRequestOrBuilder
Request message for ListServices
.
Protobuf type google.cloud.billing.v1.ListServicesRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServicesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListServicesRequest build()
Returns
buildPartial()
public ListServicesRequest buildPartial()
Returns
clear()
public ListServicesRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServicesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServicesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPageSize()
public ListServicesRequest.Builder clearPageSize()
Requested page size. Defaults to 5000.
int32 page_size = 1;
Returns
clearPageToken()
public ListServicesRequest.Builder clearPageToken()
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListServices
call. If unspecified, the first page of results is returned.
string page_token = 2;
Returns
clone()
public ListServicesRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListServicesRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPageSize()
Requested page size. Defaults to 5000.
int32 page_size = 1;
Returns
Type | Description |
int | The pageSize.
|
getPageToken()
public String getPageToken()
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListServices
call. If unspecified, the first page of results is returned.
string page_token = 2;
Returns
Type | Description |
String | The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListServices
call. If unspecified, the first page of results is returned.
string page_token = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServicesRequest other)
public ListServicesRequest.Builder mergeFrom(ListServicesRequest other)
Parameter
Returns
public ListServicesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServicesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServicesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListServicesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPageSize(int value)
public ListServicesRequest.Builder setPageSize(int value)
Requested page size. Defaults to 5000.
int32 page_size = 1;
Parameter
Name | Description |
value | int
The pageSize to set.
|
Returns
setPageToken(String value)
public ListServicesRequest.Builder setPageToken(String value)
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListServices
call. If unspecified, the first page of results is returned.
string page_token = 2;
Parameter
Name | Description |
value | String
The pageToken to set.
|
Returns
setPageTokenBytes(ByteString value)
public ListServicesRequest.Builder setPageTokenBytes(ByteString value)
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListServices
call. If unspecified, the first page of results is returned.
string page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for pageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServicesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServicesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides