Class ListProfilesResponse (2.39.0)

public final class ListProfilesResponse extends GeneratedMessageV3 implements ListProfilesResponseOrBuilder

ListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.

Protobuf type google.devtools.cloudprofiler.v2.ListProfilesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROFILES_FIELD_NUMBER

public static final int PROFILES_FIELD_NUMBER
Field Value
TypeDescription
int

SKIPPED_PROFILES_FIELD_NUMBER

public static final int SKIPPED_PROFILES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListProfilesResponse getDefaultInstance()
Returns
TypeDescription
ListProfilesResponse

getDescriptor()

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

newBuilder()

public static ListProfilesResponse.Builder newBuilder()
Returns
TypeDescription
ListProfilesResponse.Builder

newBuilder(ListProfilesResponse prototype)

public static ListProfilesResponse.Builder newBuilder(ListProfilesResponse prototype)
Parameter
NameDescription
prototypeListProfilesResponse
Returns
TypeDescription
ListProfilesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListProfilesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListProfilesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListProfilesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListProfilesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListProfilesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListProfilesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListProfilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProfilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListProfilesResponse> parser()
Returns
TypeDescription
Parser<ListProfilesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListProfilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProfilesResponse

getNextPageToken()

public String getNextPageToken()

Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListProfilesResponse> getParserForType()
Returns
TypeDescription
Parser<ListProfilesResponse>
Overrides

getProfiles(int index)

public Profile getProfiles(int index)

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Profile

getProfilesCount()

public int getProfilesCount()

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Returns
TypeDescription
int

getProfilesList()

public List<Profile> getProfilesList()

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Returns
TypeDescription
List<Profile>

getProfilesOrBuilder(int index)

public ProfileOrBuilder getProfilesOrBuilder(int index)

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProfileOrBuilder

getProfilesOrBuilderList()

public List<? extends ProfileOrBuilder> getProfilesOrBuilderList()

List of profiles fetched.

repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;

Returns
TypeDescription
List<? extends com.google.devtools.cloudprofiler.v2.ProfileOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkippedProfiles()

public int getSkippedProfiles()

Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.

int32 skipped_profiles = 3;

Returns
TypeDescription
int

The skippedProfiles.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListProfilesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListProfilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListProfilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListProfilesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListProfilesResponse.Builder toBuilder()
Returns
TypeDescription
ListProfilesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException