Class ListServicesRequest.Builder (3.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListServicesRequest build()
Returns
TypeDescription
ListServicesRequest

buildPartial()

public ListServicesRequest buildPartial()
Returns
TypeDescription
ListServicesRequest

clear()

public ListServicesRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListServicesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearProducerProjectId()

public ListServicesRequest.Builder clearProducerProjectId()

Include services produced by the specified project.

string producer_project_id = 1;

Returns
TypeDescription
ListServicesRequest.Builder

This builder for chaining.

clone()

public ListServicesRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for consumerId.

getDefaultInstanceForType()

public ListServicesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListServicesRequest

getDescriptorForType()

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

The bytes for pageToken.

getProducerProjectId()

public String getProducerProjectId()

Include services produced by the specified project.

string producer_project_id = 1;

Returns
TypeDescription
String

The producerProjectId.

getProducerProjectIdBytes()

public ByteString getProducerProjectIdBytes()

Include services produced by the specified project.

string producer_project_id = 1;

Returns
TypeDescription
ByteString

The bytes for producerProjectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServicesRequest other)

public ListServicesRequest.Builder mergeFrom(ListServicesRequest other)
Parameter
NameDescription
otherListServicesRequest
Returns
TypeDescription
ListServicesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServicesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The consumerId to set.

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

The bytes for consumerId to set.

Returns
TypeDescription
ListServicesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The producerProjectId to set.

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

The bytes for producerProjectId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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