Class ListServingConfigsRequest.Builder (2.5.1)

public static final class ListServingConfigsRequest.Builder extends GeneratedMessageV3.Builder<ListServingConfigsRequest.Builder> implements ListServingConfigsRequestOrBuilder

Request for ListServingConfigs method.

Protobuf type google.cloud.retail.v2beta.ListServingConfigsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListServingConfigsRequest build()
Returns
TypeDescription
ListServingConfigsRequest

buildPartial()

public ListServingConfigsRequest buildPartial()
Returns
TypeDescription
ListServingConfigsRequest

clear()

public ListServingConfigsRequest.Builder clear()
Returns
TypeDescription
ListServingConfigsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServingConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListServingConfigsRequest.Builder
Overrides

clearPageSize()

public ListServingConfigsRequest.Builder clearPageSize()

Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.

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

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ListServingConfigsRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListServingConfigs call. Provide this to retrieve the subsequent page.

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

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListServingConfigsRequest.Builder clearParent()

Required. The catalog resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

clone()

public ListServingConfigsRequest.Builder clone()
Returns
TypeDescription
ListServingConfigsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListServingConfigsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListServingConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.

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

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListServingConfigs call. Provide this to retrieve the subsequent page.

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

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListServingConfigs call. Provide this to retrieve the subsequent page.

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

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The catalog resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The catalog resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServingConfigsRequest other)

public ListServingConfigsRequest.Builder mergeFrom(ListServingConfigsRequest other)
Parameter
NameDescription
otherListServingConfigsRequest
Returns
TypeDescription
ListServingConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServingConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServingConfigsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListServingConfigsRequest.Builder setPageSize(int value)

Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.

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

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListServingConfigsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListServingConfigs call. Provide this to retrieve the subsequent page.

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

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListServingConfigsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListServingConfigs call. Provide this to retrieve the subsequent page.

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

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListServingConfigsRequest.Builder setParent(String value)

Required. The catalog resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListServingConfigsRequest.Builder setParentBytes(ByteString value)

Required. The catalog resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListServingConfigsRequest.Builder

This builder for chaining.

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

public ListServingConfigsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListServingConfigsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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