Class ListServicesRequest.Builder (3.40.0)

public static final class ListServicesRequest.Builder extends GeneratedMessageV3.Builder<ListServicesRequest.Builder> implements ListServicesRequestOrBuilder

Request message for ListServices method.

Protobuf type google.api.servicemanagement.v1.ListServicesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListServicesRequest build()
Returns
Type Description
ListServicesRequest

buildPartial()

public ListServicesRequest buildPartial()
Returns
Type Description
ListServicesRequest

clear()

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

clearConsumerId() (deprecated)

public ListServicesRequest.Builder clearConsumerId()

Deprecated. google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See google/api/servicemanagement/v1/servicemanager.proto;l=278

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>

string consumer_id = 7 [deprecated = true];

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListServicesRequest.Builder clearPageSize()

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.

int32 page_size = 5;

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

clearPageToken()

public ListServicesRequest.Builder clearPageToken()

Token identifying which result to start with; returned by a previous list call.

string page_token = 6;

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

clearProducerProjectId()

public ListServicesRequest.Builder clearProducerProjectId()

Include services produced by the specified project.

string producer_project_id = 1;

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

clone()

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

getConsumerId() (deprecated)

public String getConsumerId()

Deprecated. google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See google/api/servicemanagement/v1/servicemanager.proto;l=278

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>

string consumer_id = 7 [deprecated = true];

Returns
Type Description
String

The consumerId.

getConsumerIdBytes() (deprecated)

public ByteString getConsumerIdBytes()

Deprecated. google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See google/api/servicemanagement/v1/servicemanager.proto;l=278

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>

string consumer_id = 7 [deprecated = true];

Returns
Type Description
ByteString

The bytes for consumerId.

getDefaultInstanceForType()

public ListServicesRequest getDefaultInstanceForType()
Returns
Type Description
ListServicesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.

int32 page_size = 5;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Token identifying which result to start with; returned by a previous list call.

string page_token = 6;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Token identifying which result to start with; returned by a previous list call.

string page_token = 6;

Returns
Type Description
ByteString

The bytes for pageToken.

getProducerProjectId()

public String getProducerProjectId()

Include services produced by the specified project.

string producer_project_id = 1;

Returns
Type Description
String

The producerProjectId.

getProducerProjectIdBytes()

public ByteString getProducerProjectIdBytes()

Include services produced by the specified project.

string producer_project_id = 1;

Returns
Type Description
ByteString

The bytes for producerProjectId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServicesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsumerId(String value) (deprecated)

public ListServicesRequest.Builder setConsumerId(String value)

Deprecated. google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See google/api/servicemanagement/v1/servicemanager.proto;l=278

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>

string consumer_id = 7 [deprecated = true];

Parameter
Name Description
value String

The consumerId to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

setConsumerIdBytes(ByteString value) (deprecated)

public ListServicesRequest.Builder setConsumerIdBytes(ByteString value)

Deprecated. google.api.servicemanagement.v1.ListServicesRequest.consumer_id is deprecated. See google/api/servicemanagement/v1/servicemanager.proto;l=278

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>

string consumer_id = 7 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for consumerId to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListServicesRequest.Builder setPageSize(int value)

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.

int32 page_size = 5;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListServicesRequest.Builder setPageToken(String value)

Token identifying which result to start with; returned by a previous list call.

string page_token = 6;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListServicesRequest.Builder setPageTokenBytes(ByteString value)

Token identifying which result to start with; returned by a previous list call.

string page_token = 6;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

setProducerProjectId(String value)

public ListServicesRequest.Builder setProducerProjectId(String value)

Include services produced by the specified project.

string producer_project_id = 1;

Parameter
Name Description
value String

The producerProjectId to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

setProducerProjectIdBytes(ByteString value)

public ListServicesRequest.Builder setProducerProjectIdBytes(ByteString value)

Include services produced by the specified project.

string producer_project_id = 1;

Parameter
Name Description
value ByteString

The bytes for producerProjectId to set.

Returns
Type Description
ListServicesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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