Class ListInsightTypesRequest.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInsightTypesRequest build()
Returns
TypeDescription
ListInsightTypesRequest

buildPartial()

public ListInsightTypesRequest buildPartial()
Returns
TypeDescription
ListInsightTypesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInsightTypesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListInsightTypesRequest

getDescriptorForType()

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

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListInsightTypesRequest other)

public ListInsightTypesRequest.Builder mergeFrom(ListInsightTypesRequest other)
Parameter
NameDescription
otherListInsightTypesRequest
Returns
TypeDescription
ListInsightTypesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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