Class ModelGardenSource (3.40.0)

public final class ModelGardenSource extends GeneratedMessageV3 implements ModelGardenSourceOrBuilder

Contains information about the source of the models generated from Model Garden.

Protobuf type google.cloud.aiplatform.v1beta1.ModelGardenSource

Static Fields

PUBLIC_MODEL_NAME_FIELD_NUMBER

public static final int PUBLIC_MODEL_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelGardenSource getDefaultInstance()
Returns
TypeDescription
ModelGardenSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ModelGardenSource.Builder newBuilder()
Returns
TypeDescription
ModelGardenSource.Builder

newBuilder(ModelGardenSource prototype)

public static ModelGardenSource.Builder newBuilder(ModelGardenSource prototype)
Parameter
NameDescription
prototypeModelGardenSource
Returns
TypeDescription
ModelGardenSource.Builder

parseDelimitedFrom(InputStream input)

public static ModelGardenSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelGardenSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelGardenSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelGardenSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelGardenSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelGardenSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelGardenSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelGardenSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelGardenSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelGardenSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelGardenSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelGardenSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelGardenSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelGardenSource> parser()
Returns
TypeDescription
Parser<ModelGardenSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ModelGardenSource getDefaultInstanceForType()
Returns
TypeDescription
ModelGardenSource

getParserForType()

public Parser<ModelGardenSource> getParserForType()
Returns
TypeDescription
Parser<ModelGardenSource>
Overrides

getPublicModelName()

public String getPublicModelName()

Required. The model garden source model resource name.

string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The publicModelName.

getPublicModelNameBytes()

public ByteString getPublicModelNameBytes()

Required. The model garden source model resource name.

string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for publicModelName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelGardenSource.Builder newBuilderForType()
Returns
TypeDescription
ModelGardenSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelGardenSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelGardenSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelGardenSource.Builder toBuilder()
Returns
TypeDescription
ModelGardenSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException