public static final class ListProfilesResponse.Builder extends GeneratedMessageV3.Builder<ListProfilesResponse.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListProfilesResponse.Builder addProfiles(Profile value)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
Name |
Description |
value |
Profile
|
public ListProfilesResponse.Builder addProfiles(Profile.Builder builderForValue)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
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
|
public ListProfilesResponse.Builder addProfiles(int index, Profile.Builder builderForValue)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
public Profile.Builder addProfilesBuilder()
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
public Profile.Builder addProfilesBuilder(int index)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
Name |
Description |
index |
int
|
public ListProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListProfilesResponse build()
public ListProfilesResponse buildPartial()
public ListProfilesResponse.Builder clear()
Overrides
public ListProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public ListProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListProfilesResponse.Builder clearProfiles()
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
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;
public ListProfilesResponse.Builder clone()
Overrides
public ListProfilesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 Profile getProfiles(int index)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
Name |
Description |
index |
int
|
public Profile.Builder getProfilesBuilder(int index)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
Name |
Description |
index |
int
|
public List<Profile.Builder> getProfilesBuilderList()
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListProfilesResponse.Builder mergeFrom(ListProfilesResponse other)
public ListProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListProfilesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListProfilesResponse.Builder removeProfiles(int index)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
Parameter |
Name |
Description |
index |
int
|
public ListProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
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
|
public ListProfilesResponse.Builder setProfiles(int index, Profile.Builder builderForValue)
List of profiles fetched.
repeated .google.devtools.cloudprofiler.v2.Profile profiles = 1;
public ListProfilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
int
The skippedProfiles to set.
|
public final ListProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides