Class FetchProfilesResponse.Builder (0.1.0)

public static final class FetchProfilesResponse.Builder extends GeneratedMessageV3.Builder<FetchProfilesResponse.Builder> implements FetchProfilesResponseOrBuilder

Response message for GkeInferenceQuickstart.FetchProfiles.

Protobuf type google.cloud.gkerecommender.v1.FetchProfilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllProfile(Iterable<? extends Profile> values)

public FetchProfilesResponse.Builder addAllProfile(Iterable<? extends Profile> values)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkerecommender.v1.Profile>
Returns
Type Description
FetchProfilesResponse.Builder

addProfile(Profile value)

public FetchProfilesResponse.Builder addProfile(Profile value)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Profile
Returns
Type Description
FetchProfilesResponse.Builder

addProfile(Profile.Builder builderForValue)

public FetchProfilesResponse.Builder addProfile(Profile.Builder builderForValue)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Profile.Builder
Returns
Type Description
FetchProfilesResponse.Builder

addProfile(int index, Profile value)

public FetchProfilesResponse.Builder addProfile(int index, Profile value)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Profile
Returns
Type Description
FetchProfilesResponse.Builder

addProfile(int index, Profile.Builder builderForValue)

public FetchProfilesResponse.Builder addProfile(int index, Profile.Builder builderForValue)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Profile.Builder
Returns
Type Description
FetchProfilesResponse.Builder

addProfileBuilder()

public Profile.Builder addProfileBuilder()

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Profile.Builder

addProfileBuilder(int index)

public Profile.Builder addProfileBuilder(int index)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Profile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

build()

public FetchProfilesResponse build()
Returns
Type Description
FetchProfilesResponse

buildPartial()

public FetchProfilesResponse buildPartial()
Returns
Type Description
FetchProfilesResponse

clear()

public FetchProfilesResponse.Builder clear()
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

clearComments()

public FetchProfilesResponse.Builder clearComments()

Output only. Additional comments related to the response.

string comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FetchProfilesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FetchProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

clearNextPageToken()

public FetchProfilesResponse.Builder clearNextPageToken()

Output only. A token which may be sent as page_token in a subsequent FetchProfilesResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FetchProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

clearPerformanceRange()

public FetchProfilesResponse.Builder clearPerformanceRange()

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FetchProfilesResponse.Builder

clearProfile()

public FetchProfilesResponse.Builder clearProfile()

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FetchProfilesResponse.Builder

clone()

public FetchProfilesResponse.Builder clone()
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

getComments()

public String getComments()

Output only. Additional comments related to the response.

string comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The comments.

getCommentsBytes()

public ByteString getCommentsBytes()

Output only. Additional comments related to the response.

string comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for comments.

getDefaultInstanceForType()

public FetchProfilesResponse getDefaultInstanceForType()
Returns
Type Description
FetchProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Output only. A token which may be sent as page_token in a subsequent FetchProfilesResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. A token which may be sent as page_token in a subsequent FetchProfilesResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPerformanceRange()

public PerformanceRange getPerformanceRange()

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PerformanceRange

The performanceRange.

getPerformanceRangeBuilder()

public PerformanceRange.Builder getPerformanceRangeBuilder()

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PerformanceRange.Builder

getPerformanceRangeOrBuilder()

public PerformanceRangeOrBuilder getPerformanceRangeOrBuilder()

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PerformanceRangeOrBuilder

getProfile(int index)

public Profile getProfile(int index)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Profile

getProfileBuilder(int index)

public Profile.Builder getProfileBuilder(int index)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Profile.Builder

getProfileBuilderList()

public List<Profile.Builder> getProfileBuilderList()

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getProfileCount()

public int getProfileCount()

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getProfileList()

public List<Profile> getProfileList()

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Profile>

getProfileOrBuilder(int index)

public ProfileOrBuilder getProfileOrBuilder(int index)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ProfileOrBuilder

getProfileOrBuilderList()

public List<? extends ProfileOrBuilder> getProfileOrBuilderList()

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkerecommender.v1.ProfileOrBuilder>

hasPerformanceRange()

public boolean hasPerformanceRange()

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the performanceRange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchProfilesResponse other)

public FetchProfilesResponse.Builder mergeFrom(FetchProfilesResponse other)
Parameter
Name Description
other FetchProfilesResponse
Returns
Type Description
FetchProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchProfilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchProfilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

mergePerformanceRange(PerformanceRange value)

public FetchProfilesResponse.Builder mergePerformanceRange(PerformanceRange value)

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PerformanceRange
Returns
Type Description
FetchProfilesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

removeProfile(int index)

public FetchProfilesResponse.Builder removeProfile(int index)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FetchProfilesResponse.Builder

setComments(String value)

public FetchProfilesResponse.Builder setComments(String value)

Output only. Additional comments related to the response.

string comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The comments to set.

Returns
Type Description
FetchProfilesResponse.Builder

This builder for chaining.

setCommentsBytes(ByteString value)

public FetchProfilesResponse.Builder setCommentsBytes(ByteString value)

Output only. Additional comments related to the response.

string comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for comments to set.

Returns
Type Description
FetchProfilesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FetchProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

setNextPageToken(String value)

public FetchProfilesResponse.Builder setNextPageToken(String value)

Output only. A token which may be sent as page_token in a subsequent FetchProfilesResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchProfilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchProfilesResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. A token which may be sent as page_token in a subsequent FetchProfilesResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchProfilesResponse.Builder

This builder for chaining.

setPerformanceRange(PerformanceRange value)

public FetchProfilesResponse.Builder setPerformanceRange(PerformanceRange value)

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PerformanceRange
Returns
Type Description
FetchProfilesResponse.Builder

setPerformanceRange(PerformanceRange.Builder builderForValue)

public FetchProfilesResponse.Builder setPerformanceRange(PerformanceRange.Builder builderForValue)

Output only. The combined range of performance values observed across all profiles in this response.

.google.cloud.gkerecommender.v1.PerformanceRange performance_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PerformanceRange.Builder
Returns
Type Description
FetchProfilesResponse.Builder

setProfile(int index, Profile value)

public FetchProfilesResponse.Builder setProfile(int index, Profile value)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Profile
Returns
Type Description
FetchProfilesResponse.Builder

setProfile(int index, Profile.Builder builderForValue)

public FetchProfilesResponse.Builder setProfile(int index, Profile.Builder builderForValue)

Output only. List of profiles that match the given model server info and performance requirements (if provided).

repeated .google.cloud.gkerecommender.v1.Profile profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Profile.Builder
Returns
Type Description
FetchProfilesResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchProfilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchProfilesResponse.Builder
Overrides