Class GenerateOptimizedManifestResponse (0.1.0)

public final class GenerateOptimizedManifestResponse extends GeneratedMessageV3 implements GenerateOptimizedManifestResponseOrBuilder

Response message for GkeInferenceQuickstart.GenerateOptimizedManifest.

Protobuf type google.cloud.gkerecommender.v1.GenerateOptimizedManifestResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateOptimizedManifestResponse

Static Fields

COMMENTS_FIELD_NUMBER

public static final int COMMENTS_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_MANIFESTS_FIELD_NUMBER

public static final int KUBERNETES_MANIFESTS_FIELD_NUMBER
Field Value
Type Description
int

MANIFEST_VERSION_FIELD_NUMBER

public static final int MANIFEST_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateOptimizedManifestResponse getDefaultInstance()
Returns
Type Description
GenerateOptimizedManifestResponse

getDescriptor()

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

newBuilder()

public static GenerateOptimizedManifestResponse.Builder newBuilder()
Returns
Type Description
GenerateOptimizedManifestResponse.Builder

newBuilder(GenerateOptimizedManifestResponse prototype)

public static GenerateOptimizedManifestResponse.Builder newBuilder(GenerateOptimizedManifestResponse prototype)
Parameter
Name Description
prototype GenerateOptimizedManifestResponse
Returns
Type Description
GenerateOptimizedManifestResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateOptimizedManifestResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOptimizedManifestResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateOptimizedManifestResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateOptimizedManifestResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateOptimizedManifestResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateOptimizedManifestResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateOptimizedManifestResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOptimizedManifestResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateOptimizedManifestResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateOptimizedManifestResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateOptimizedManifestResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateOptimizedManifestResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateOptimizedManifestResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateOptimizedManifestResponse> parser()
Returns
Type Description
Parser<GenerateOptimizedManifestResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getComments(int index)

public String getComments(int index)

Output only. Comments related to deploying the generated manifests.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The comments at the given index.

getCommentsBytes(int index)

public ByteString getCommentsBytes(int index)

Output only. Comments related to deploying the generated manifests.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the comments at the given index.

getCommentsCount()

public int getCommentsCount()

Output only. Comments related to deploying the generated manifests.

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

Returns
Type Description
int

The count of comments.

getCommentsList()

public ProtocolStringList getCommentsList()

Output only. Comments related to deploying the generated manifests.

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

Returns
Type Description
ProtocolStringList

A list containing the comments.

getDefaultInstanceForType()

public GenerateOptimizedManifestResponse getDefaultInstanceForType()
Returns
Type Description
GenerateOptimizedManifestResponse

getKubernetesManifests(int index)

public KubernetesManifest getKubernetesManifests(int index)

Output only. A list of generated Kubernetes manifests.

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

Parameter
Name Description
index int
Returns
Type Description
KubernetesManifest

getKubernetesManifestsCount()

public int getKubernetesManifestsCount()

Output only. A list of generated Kubernetes manifests.

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

Returns
Type Description
int

getKubernetesManifestsList()

public List<KubernetesManifest> getKubernetesManifestsList()

Output only. A list of generated Kubernetes manifests.

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

Returns
Type Description
List<KubernetesManifest>

getKubernetesManifestsOrBuilder(int index)

public KubernetesManifestOrBuilder getKubernetesManifestsOrBuilder(int index)

Output only. A list of generated Kubernetes manifests.

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

Parameter
Name Description
index int
Returns
Type Description
KubernetesManifestOrBuilder

getKubernetesManifestsOrBuilderList()

public List<? extends KubernetesManifestOrBuilder> getKubernetesManifestsOrBuilderList()

Output only. A list of generated Kubernetes manifests.

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

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

getManifestVersion()

public String getManifestVersion()

Output only. Additional information about the versioned dependencies used to generate the manifests. See Run best practice inference with GKE Inference Quickstart recipes for details.

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

Returns
Type Description
String

The manifestVersion.

getManifestVersionBytes()

public ByteString getManifestVersionBytes()

Output only. Additional information about the versioned dependencies used to generate the manifests. See Run best practice inference with GKE Inference Quickstart recipes for details.

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

Returns
Type Description
ByteString

The bytes for manifestVersion.

getParserForType()

public Parser<GenerateOptimizedManifestResponse> getParserForType()
Returns
Type Description
Parser<GenerateOptimizedManifestResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateOptimizedManifestResponse.Builder newBuilderForType()
Returns
Type Description
GenerateOptimizedManifestResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateOptimizedManifestResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateOptimizedManifestResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateOptimizedManifestResponse.Builder toBuilder()
Returns
Type Description
GenerateOptimizedManifestResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException