public static final class ListProfilesResponse.Builder extends GeneratedMessage.Builder<ListProfilesResponse.Builder> implements ListProfilesResponseOrBuilderListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.
Protobuf type google.devtools.cloudprofiler.v2.ListProfilesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListProfilesResponse.BuilderImplements
ListProfilesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllProfiles(Iterable<? extends Profile> values)
public ListProfilesResponse.Builder addAllProfiles(Iterable<? extends Profile> values)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.devtools.cloudprofiler.v2.Profile> |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
addProfiles(Profile value)
public ListProfilesResponse.Builder addProfiles(Profile value)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
addProfiles(Profile.Builder builderForValue)
public ListProfilesResponse.Builder addProfiles(Profile.Builder builderForValue)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Profile.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
addProfiles(int index, Profile value)
public ListProfilesResponse.Builder addProfiles(int index, Profile value)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
addProfiles(int index, Profile.Builder builderForValue)
public ListProfilesResponse.Builder addProfiles(int index, Profile.Builder builderForValue)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Profile.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
addProfilesBuilder()
public Profile.Builder addProfilesBuilder()List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Returns | |
|---|---|
| Type | Description |
Profile.Builder |
|
addProfilesBuilder(int index)
public Profile.Builder addProfilesBuilder(int index)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Profile.Builder |
|
build()
public ListProfilesResponse build()| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse |
|
buildPartial()
public ListProfilesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse |
|
clear()
public ListProfilesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
clearNextPageToken()
public ListProfilesResponse.Builder clearNextPageToken()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 |
ListProfilesResponse.Builder |
This builder for chaining. |
clearProfiles()
public ListProfilesResponse.Builder clearProfiles()List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
clearSkippedProfiles()
public ListProfilesResponse.Builder clearSkippedProfiles()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 |
ListProfilesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListProfilesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getProfiles(int index)
public Profile getProfiles(int index)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Profile |
|
getProfilesBuilder(int index)
public Profile.Builder getProfilesBuilder(int index)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Profile.Builder |
|
getProfilesBuilderList()
public List<Profile.Builder> getProfilesBuilderList()List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProfilesCount()
public int getProfilesCount()List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProfilesList()
public List<Profile> getProfilesList()List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Returns | |
|---|---|
| Type | Description |
List<Profile> |
|
getProfilesOrBuilder(int index)
public ProfileOrBuilder getProfilesOrBuilder(int index)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProfileOrBuilder |
|
getProfilesOrBuilderList()
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> |
|
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 | |
|---|---|
| Type | Description |
int |
The skippedProfiles. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListProfilesResponse other)
public ListProfilesResponse.Builder mergeFrom(ListProfilesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListProfilesResponse |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListProfilesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
removeProfiles(int index)
public ListProfilesResponse.Builder removeProfiles(int index)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
setNextPageToken(String value)
public ListProfilesResponse.Builder setNextPageToken(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListProfilesResponse.Builder setNextPageTokenBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
This builder for chaining. |
setProfiles(int index, Profile value)
public ListProfilesResponse.Builder setProfiles(int index, Profile value)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Profile |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
setProfiles(int index, Profile.Builder builderForValue)
public ListProfilesResponse.Builder setProfiles(int index, Profile.Builder builderForValue)List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Profile.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
|
setSkippedProfiles(int value)
public ListProfilesResponse.Builder setSkippedProfiles(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe skippedProfiles to set. |
| Returns | |
|---|---|
| Type | Description |
ListProfilesResponse.Builder |
This builder for chaining. |