Class ListProfilesRequest.Builder (2.45.0)

public static final class ListProfilesRequest.Builder extends GeneratedMessageV3.Builder<ListProfilesRequest.Builder> implements ListProfilesRequestOrBuilder

ListProfilesRequest contains request parameters for listing profiles for deployments in projects which the user has permissions to view.

Protobuf type google.devtools.cloudprofiler.v2.ListProfilesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProfilesRequest build()
Returns
Type Description
ListProfilesRequest

buildPartial()

public ListProfilesRequest buildPartial()
Returns
Type Description
ListProfilesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListProfilesRequest.Builder clearPageSize()

The maximum number of items to return. Default page_size is 1000. Max limit is 1000.

int32 page_size = 2;

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

clearPageToken()

public ListProfilesRequest.Builder clearPageToken()

The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

clearParent()

public ListProfilesRequest.Builder clearParent()

Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}

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

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProfilesRequest getDefaultInstanceForType()
Returns
Type Description
ListProfilesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The maximum number of items to return. Default page_size is 1000. Max limit is 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProfilesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListProfilesRequest.Builder setPageSize(int value)

The maximum number of items to return. Default page_size is 1000. Max limit is 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListProfilesRequest.Builder setPageToken(String value)

The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListProfilesRequest.Builder setPageTokenBytes(ByteString value)

The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

setParent(String value)

public ListProfilesRequest.Builder setParent(String value)

Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListProfilesRequest.Builder setParentBytes(ByteString value)

Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListProfilesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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