Class FetchProfilesRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkerecommender.v1.FetchProfilesRequest
- All Implemented Interfaces:
FetchProfilesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class FetchProfilesRequest
extends com.google.protobuf.GeneratedMessage
implements FetchProfilesRequestOrBuilder
Request message for [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].Protobuf type
google.cloud.gkerecommender.v1.FetchProfilesRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FetchProfilesRequeststatic final com.google.protobuf.Descriptors.DescriptorgetModel()Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<FetchProfilesRequest>Optional.Optional.intinthashCode()booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic FetchProfilesRequest.Builderstatic FetchProfilesRequest.BuildernewBuilder(FetchProfilesRequest prototype) protected FetchProfilesRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static FetchProfilesRequestparseDelimitedFrom(InputStream input) static FetchProfilesRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FetchProfilesRequestparseFrom(byte[] data) static FetchProfilesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FetchProfilesRequestparseFrom(com.google.protobuf.ByteString data) static FetchProfilesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FetchProfilesRequestparseFrom(com.google.protobuf.CodedInputStream input) static FetchProfilesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FetchProfilesRequestparseFrom(InputStream input) static FetchProfilesRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FetchProfilesRequestparseFrom(ByteBuffer data) static FetchProfilesRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FetchProfilesRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
MODEL_SERVER_FIELD_NUMBER
public static final int MODEL_SERVER_FIELD_NUMBER- See Also:
-
MODEL_SERVER_VERSION_FIELD_NUMBER
public static final int MODEL_SERVER_VERSION_FIELD_NUMBER- See Also:
-
PERFORMANCE_REQUIREMENTS_FIELD_NUMBER
public static final int PERFORMANCE_REQUIREMENTS_FIELD_NUMBER- See Also:
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelin interfaceFetchProfilesRequestOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.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][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelBytesin interfaceFetchProfilesRequestOrBuilder- Returns:
- The bytes for model.
-
getModelServer
Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available model servers for a given model.
string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelServerin interfaceFetchProfilesRequestOrBuilder- Returns:
- The modelServer.
-
getModelServerBytes
public com.google.protobuf.ByteString getModelServerBytes()Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available model servers for a given model.
string model_server = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelServerBytesin interfaceFetchProfilesRequestOrBuilder- Returns:
- The bytes for modelServer.
-
getModelServerVersion
Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions] to find available versions for a given model and server.
string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelServerVersionin interfaceFetchProfilesRequestOrBuilder- Returns:
- The modelServerVersion.
-
getModelServerVersionBytes
public com.google.protobuf.ByteString getModelServerVersionBytes()Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions] to find available versions for a given model and server.
string model_server_version = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModelServerVersionBytesin interfaceFetchProfilesRequestOrBuilder- Returns:
- The bytes for modelServerVersion.
-
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];- Specified by:
hasPerformanceRequirementsin interfaceFetchProfilesRequestOrBuilder- Returns:
- Whether the performanceRequirements field is set.
-
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];- Specified by:
getPerformanceRequirementsin interfaceFetchProfilesRequestOrBuilder- Returns:
- The performanceRequirements.
-
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];- Specified by:
getPerformanceRequirementsOrBuilderin interfaceFetchProfilesRequestOrBuilder
-
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][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token] to determine if there are more instances left to be queried.
optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPageSizein interfaceFetchProfilesRequestOrBuilder- Returns:
- Whether the pageSize field is set.
-
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][google.cloud.gkerecommender.v1.FetchProfilesResponse.next_page_token] to determine if there are more instances left to be queried.
optional int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageSizein interfaceFetchProfilesRequestOrBuilder- Returns:
- The pageSize.
-
hasPageToken
public boolean hasPageToken()Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.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];- Specified by:
hasPageTokenin interfaceFetchProfilesRequestOrBuilder- Returns:
- Whether the pageToken field is set.
-
getPageToken
Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.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];- Specified by:
getPageTokenin interfaceFetchProfilesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchProfilesResponse.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];- Specified by:
getPageTokenBytesin interfaceFetchProfilesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FetchProfilesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FetchProfilesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FetchProfilesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FetchProfilesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FetchProfilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FetchProfilesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FetchProfilesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FetchProfilesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FetchProfilesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FetchProfilesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FetchProfilesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-