Class FetchProfilesRequest.Builder (0.1.0)

public static final class FetchProfilesRequest.Builder extends GeneratedMessageV3.Builder<FetchProfilesRequest.Builder> implements FetchProfilesRequestOrBuilder

Request message for GkeInferenceQuickstart.FetchProfiles.

Protobuf type google.cloud.gkerecommender.v1.FetchProfilesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchProfilesRequest build()
Returns
Type Description
FetchProfilesRequest

buildPartial()

public FetchProfilesRequest buildPartial()
Returns
Type Description
FetchProfilesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModel()

public FetchProfilesRequest.Builder clearModel()

Optional. The model to filter profiles by. Open-source models follow the Huggingface Hub owner/model_name format. If not provided, all models are returned. Use GkeInferenceQuickstart.FetchModels to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

clearModelServer()

public FetchProfilesRequest.Builder clearModelServer()

Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use GkeInferenceQuickstart.FetchModelServers to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

clearModelServerVersion()

public FetchProfilesRequest.Builder clearModelServerVersion()

Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use GkeInferenceQuickstart.FetchModelServerVersions to find available versions for a given model and server.

string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public FetchProfilesRequest.Builder clearPageSize()

Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.

optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

clearPageToken()

public FetchProfilesRequest.Builder clearPageToken()

Optional. The value of next_page_token received from a previous FetchProfilesRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchProfilesRequest must match the call that provided the page token.

optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

clearPerformanceRequirements()

public FetchProfilesRequest.Builder clearPerformanceRequirements()

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchProfilesRequest.Builder

clone()

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

getDefaultInstanceForType()

public FetchProfilesRequest getDefaultInstanceForType()
Returns
Type Description
FetchProfilesRequest

getDescriptorForType()

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

getModel()

public String getModel()

Optional. The model to filter profiles by. Open-source models follow the Huggingface Hub owner/model_name format. If not provided, all models are returned. Use GkeInferenceQuickstart.FetchModels to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Optional. The model to filter profiles by. Open-source models follow the Huggingface Hub owner/model_name format. If not provided, all models are returned. Use GkeInferenceQuickstart.FetchModels to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for model.

getModelServer()

public String getModelServer()

Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use GkeInferenceQuickstart.FetchModelServers to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The modelServer.

getModelServerBytes()

public ByteString getModelServerBytes()

Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use GkeInferenceQuickstart.FetchModelServers to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for modelServer.

getModelServerVersion()

public String getModelServerVersion()

Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use GkeInferenceQuickstart.FetchModelServerVersions to find available versions for a given model and server.

string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The modelServerVersion.

getModelServerVersionBytes()

public ByteString getModelServerVersionBytes()

Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use GkeInferenceQuickstart.FetchModelServerVersions to find available versions for a given model and server.

string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for modelServerVersion.

getPageSize()

public int getPageSize()

Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.

optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The value of next_page_token received from a previous FetchProfilesRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchProfilesRequest must match the call that provided the page token.

optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The value of next_page_token received from a previous FetchProfilesRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchProfilesRequest must match the call that provided the page token.

optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getPerformanceRequirements()

public PerformanceRequirements getPerformanceRequirements()

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PerformanceRequirements

The performanceRequirements.

getPerformanceRequirementsBuilder()

public PerformanceRequirements.Builder getPerformanceRequirementsBuilder()

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PerformanceRequirements.Builder

getPerformanceRequirementsOrBuilder()

public PerformanceRequirementsOrBuilder getPerformanceRequirementsOrBuilder()

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PerformanceRequirementsOrBuilder

hasPageSize()

public boolean hasPageSize()

Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.

optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pageSize field is set.

hasPageToken()

public boolean hasPageToken()

Optional. The value of next_page_token received from a previous FetchProfilesRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchProfilesRequest must match the call that provided the page token.

optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pageToken field is set.

hasPerformanceRequirements()

public boolean hasPerformanceRequirements()

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the performanceRequirements field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchProfilesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePerformanceRequirements(PerformanceRequirements value)

public FetchProfilesRequest.Builder mergePerformanceRequirements(PerformanceRequirements value)

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PerformanceRequirements
Returns
Type Description
FetchProfilesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public FetchProfilesRequest.Builder setModel(String value)

Optional. The model to filter profiles by. Open-source models follow the Huggingface Hub owner/model_name format. If not provided, all models are returned. Use GkeInferenceQuickstart.FetchModels to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The model to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setModelBytes(ByteString value)

public FetchProfilesRequest.Builder setModelBytes(ByteString value)

Optional. The model to filter profiles by. Open-source models follow the Huggingface Hub owner/model_name format. If not provided, all models are returned. Use GkeInferenceQuickstart.FetchModels to find available models.

string model = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setModelServer(String value)

public FetchProfilesRequest.Builder setModelServer(String value)

Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use GkeInferenceQuickstart.FetchModelServers to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The modelServer to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setModelServerBytes(ByteString value)

public FetchProfilesRequest.Builder setModelServerBytes(ByteString value)

Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use GkeInferenceQuickstart.FetchModelServers to find available model servers for a given model.

string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for modelServer to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setModelServerVersion(String value)

public FetchProfilesRequest.Builder setModelServerVersion(String value)

Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use GkeInferenceQuickstart.FetchModelServerVersions to find available versions for a given model and server.

string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The modelServerVersion to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setModelServerVersionBytes(ByteString value)

public FetchProfilesRequest.Builder setModelServerVersionBytes(ByteString value)

Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use GkeInferenceQuickstart.FetchModelServerVersions to find available versions for a given model and server.

string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for modelServerVersion to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setPageSize(int value)

public FetchProfilesRequest.Builder setPageSize(int value)

Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.

optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setPageToken(String value)

public FetchProfilesRequest.Builder setPageToken(String value)

Optional. The value of next_page_token received from a previous FetchProfilesRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchProfilesRequest must match the call that provided the page token.

optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public FetchProfilesRequest.Builder setPageTokenBytes(ByteString value)

Optional. The value of next_page_token received from a previous FetchProfilesRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchProfilesRequest must match the call that provided the page token.

optional string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
FetchProfilesRequest.Builder

This builder for chaining.

setPerformanceRequirements(PerformanceRequirements value)

public FetchProfilesRequest.Builder setPerformanceRequirements(PerformanceRequirements value)

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PerformanceRequirements
Returns
Type Description
FetchProfilesRequest.Builder

setPerformanceRequirements(PerformanceRequirements.Builder builderForValue)

public FetchProfilesRequest.Builder setPerformanceRequirements(PerformanceRequirements.Builder builderForValue)

Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PerformanceRequirements.Builder
Returns
Type Description
FetchProfilesRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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