Class ListProfilesRequest.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProfilesRequest build()
Returns
TypeDescription
ListProfilesRequest

buildPartial()

public ListProfilesRequest buildPartial()
Returns
TypeDescription
ListProfilesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProfilesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListProfilesRequest

getDescriptorForType()

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

public ListProfilesRequest.Builder mergeFrom(ListProfilesRequest other)
Parameter
NameDescription
otherListProfilesRequest
Returns
TypeDescription
ListProfilesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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