Class PublisherModel.Parent (3.53.0)

public static final class PublisherModel.Parent extends GeneratedMessageV3 implements PublisherModel.ParentOrBuilder

The information about the parent of a model.

Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.Parent

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

REFERENCE_FIELD_NUMBER

public static final int REFERENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PublisherModel.Parent getDefaultInstance()
Returns
Type Description
PublisherModel.Parent

getDescriptor()

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

newBuilder()

public static PublisherModel.Parent.Builder newBuilder()
Returns
Type Description
PublisherModel.Parent.Builder

newBuilder(PublisherModel.Parent prototype)

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

parseDelimitedFrom(InputStream input)

public static PublisherModel.Parent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublisherModel.Parent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PublisherModel.Parent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PublisherModel.Parent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PublisherModel.Parent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PublisherModel.Parent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PublisherModel.Parent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublisherModel.Parent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PublisherModel.Parent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PublisherModel.Parent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PublisherModel.Parent> parser()
Returns
Type Description
Parser<Parent>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublisherModel.Parent getDefaultInstanceForType()
Returns
Type Description
PublisherModel.Parent

getDisplayName()

public String getDisplayName()

Required. The display name of the parent. E.g., LaMDA, T5, Vision API, Natural Language API.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the parent. E.g., LaMDA, T5, Vision API, Natural Language API.

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

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<PublisherModel.Parent> getParserForType()
Returns
Type Description
Parser<Parent>
Overrides

getReference()

public PublisherModel.ResourceReference getReference()

Optional. The Google Cloud resource name or the URI reference.

.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublisherModel.ResourceReference

The reference.

getReferenceOrBuilder()

public PublisherModel.ResourceReferenceOrBuilder getReferenceOrBuilder()

Optional. The Google Cloud resource name or the URI reference.

.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublisherModel.ResourceReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReference()

public boolean hasReference()

Optional. The Google Cloud resource name or the URI reference.

.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reference field is set.

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 PublisherModel.Parent.Builder newBuilderForType()
Returns
Type Description
PublisherModel.Parent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PublisherModel.Parent.Builder toBuilder()
Returns
Type Description
PublisherModel.Parent.Builder

writeTo(CodedOutputStream output)

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