Class PublisherModel.ResourceReference (3.55.0)

public static final class PublisherModel.ResourceReference extends GeneratedMessageV3 implements PublisherModel.ResourceReferenceOrBuilder

Reference to a resource.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublisherModel.ResourceReference

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

USE_CASE_FIELD_NUMBER

public static final int USE_CASE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(PublisherModel.ResourceReference prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDescription() (deprecated)

public String getDescription()

Deprecated. google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.description is deprecated. See google/cloud/aiplatform/v1beta1/publisher_model.proto;l=51

Description of the resource.

string description = 4 [deprecated = true];

Returns
Type Description
String

The description.

getDescriptionBytes() (deprecated)

public ByteString getDescriptionBytes()

Deprecated. google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.description is deprecated. See google/cloud/aiplatform/v1beta1/publisher_model.proto;l=51

Description of the resource.

string description = 4 [deprecated = true];

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

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

getReferenceCase()

public PublisherModel.ResourceReference.ReferenceCase getReferenceCase()
Returns
Type Description
PublisherModel.ResourceReference.ReferenceCase

getResourceName()

public String getResourceName()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
Type Description
ByteString

The bytes for resourceName.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

The URI of the resource.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the resource.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

getUseCase() (deprecated)

public String getUseCase()

Deprecated. google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.use_case is deprecated. See google/cloud/aiplatform/v1beta1/publisher_model.proto;l=48

Use case (CUJ) of the resource.

string use_case = 3 [deprecated = true];

Returns
Type Description
String

The useCase.

getUseCaseBytes() (deprecated)

public ByteString getUseCaseBytes()

Deprecated. google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.use_case is deprecated. See google/cloud/aiplatform/v1beta1/publisher_model.proto;l=48

Use case (CUJ) of the resource.

string use_case = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for useCase.

hasDescription() (deprecated)

public boolean hasDescription()

Deprecated. google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.description is deprecated. See google/cloud/aiplatform/v1beta1/publisher_model.proto;l=51

Description of the resource.

string description = 4 [deprecated = true];

Returns
Type Description
boolean

Whether the description field is set.

hasResourceName()

public boolean hasResourceName()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
Type Description
boolean

Whether the resourceName field is set.

hasUri()

public boolean hasUri()

The URI of the resource.

string uri = 1;

Returns
Type Description
boolean

Whether the uri field is set.

hasUseCase() (deprecated)

public boolean hasUseCase()

Deprecated. google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.use_case is deprecated. See google/cloud/aiplatform/v1beta1/publisher_model.proto;l=48

Use case (CUJ) of the resource.

string use_case = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the useCase 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.ResourceReference.Builder newBuilderForType()
Returns
Type Description
PublisherModel.ResourceReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublisherModel.ResourceReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PublisherModel.ResourceReference.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.ResourceReference.Builder toBuilder()
Returns
Type Description
PublisherModel.ResourceReference.Builder

writeTo(CodedOutputStream output)

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