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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROFILES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SKIPPED_PROFILES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ListProfilesResponse getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ListProfilesResponse.Builder newBuilder()
public static ListProfilesResponse.Builder newBuilder(ListProfilesResponse prototype)
public static ListProfilesResponse parseDelimitedFrom(InputStream input)
public static ListProfilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListProfilesResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ListProfilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListProfilesResponse parseFrom(ByteString data)
public static ListProfilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListProfilesResponse parseFrom(CodedInputStream input)
public static ListProfilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListProfilesResponse parseFrom(InputStream input)
public static ListProfilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListProfilesResponse parseFrom(ByteBuffer data)
public static ListProfilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ListProfilesResponse> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public ListProfilesResponse getDefaultInstanceForType()
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
public Parser<ListProfilesResponse> getParserForType()
Overrides
public Profile getProfiles(int index)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
---|
Name | Description |
index | int
|
public int getProfilesCount()
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Returns |
---|
Type | Description |
int | |
public List<Profile> getProfilesList()
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
public ProfileOrBuilder getProfilesOrBuilder(int index)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends ProfileOrBuilder> getProfilesOrBuilderList()
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Returns |
---|
Type | Description |
List<? extends com.google.devtools.cloudprofiler.v2.ProfileOrBuilder> | |
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 |
---|
Type | Description |
int | The skippedProfiles.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListProfilesResponse.Builder newBuilderForType()
protected ListProfilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ListProfilesResponse.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides