Class ListInsightTypesRequest.Builder (2.47.0)

public static final class ListInsightTypesRequest.Builder extends GeneratedMessageV3.Builder<ListInsightTypesRequest.Builder> implements ListInsightTypesRequestOrBuilder

Request for the ListInsightTypes method.

Protobuf type google.cloud.recommender.v1beta1.ListInsightTypesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInsightTypesRequest build()
Returns
Type Description
ListInsightTypesRequest

buildPartial()

public ListInsightTypesRequest buildPartial()
Returns
Type Description
ListInsightTypesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListInsightTypesRequest.Builder clearPageSize()

The number of InsightTypes to return per page. The service may return fewer than this value.

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

Returns
Type Description
ListInsightTypesRequest.Builder

This builder for chaining.

clearPageToken()

public ListInsightTypesRequest.Builder clearPageToken()

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

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

Returns
Type Description
ListInsightTypesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInsightTypesRequest getDefaultInstanceForType()
Returns
Type Description
ListInsightTypesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The number of InsightTypes to return per page. The service may return fewer than this value.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

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

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListInsightTypesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListInsightTypesRequest.Builder setPageSize(int value)

The number of InsightTypes to return per page. The service may return fewer than this value.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListInsightTypesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListInsightTypesRequest.Builder setPageToken(String value)

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

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListInsightTypesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListInsightTypesRequest.Builder setPageTokenBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListInsightTypesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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