Class PublisherModel.Parent (3.25.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
TypeDescription
int

REFERENCE_FIELD_NUMBER

public static final int REFERENCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PublisherModel.Parent getDefaultInstance()
Returns
TypeDescription
PublisherModel.Parent

getDescriptor()

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

newBuilder()

public static PublisherModel.Parent.Builder newBuilder()
Returns
TypeDescription
PublisherModel.Parent.Builder

newBuilder(PublisherModel.Parent prototype)

public static PublisherModel.Parent.Builder newBuilder(PublisherModel.Parent prototype)
Parameter
NameDescription
prototypePublisherModel.Parent
Returns
TypeDescription
PublisherModel.Parent.Builder

parseDelimitedFrom(InputStream input)

public static PublisherModel.Parent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.Parent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PublisherModel.Parent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PublisherModel.Parent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PublisherModel.Parent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PublisherModel.Parent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PublisherModel.Parent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.Parent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PublisherModel.Parent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PublisherModel.Parent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublisherModel.Parent getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getParserForType()

public Parser<PublisherModel.Parent> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PublisherModel.ResourceReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the reference field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PublisherModel.Parent.Builder toBuilder()
Returns
TypeDescription
PublisherModel.Parent.Builder

writeTo(CodedOutputStream output)

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