Class PublisherModel.ResourceReference (3.40.0)

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

Reference to a resource.

Protobuf type google.cloud.aiplatform.v1.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
TypeDescription
int

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

USE_CASE_FIELD_NUMBER

public static final int USE_CASE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(PublisherModel.ResourceReference prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublisherModel.ResourceReference getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.ResourceReference

getDescription() (deprecated)

public String getDescription()

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

Description of the resource.

string description = 4 [deprecated = true];

Returns
TypeDescription
String

The description.

getDescriptionBytes() (deprecated)

public ByteString getDescriptionBytes()

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

Description of the resource.

string description = 4 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

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

getReferenceCase()

public PublisherModel.ResourceReference.ReferenceCase getReferenceCase()
Returns
TypeDescription
PublisherModel.ResourceReference.ReferenceCase

getResourceName()

public String getResourceName()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
TypeDescription
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
TypeDescription
ByteString

The bytes for resourceName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

The URI of the resource.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the resource.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

getUseCase() (deprecated)

public String getUseCase()

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

Use case (CUJ) of the resource.

string use_case = 3 [deprecated = true];

Returns
TypeDescription
String

The useCase.

getUseCaseBytes() (deprecated)

public ByteString getUseCaseBytes()

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

Use case (CUJ) of the resource.

string use_case = 3 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for useCase.

hasDescription() (deprecated)

public boolean hasDescription()

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

Description of the resource.

string description = 4 [deprecated = true];

Returns
TypeDescription
boolean

Whether the description field is set.

hasResourceName()

public boolean hasResourceName()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
TypeDescription
boolean

Whether the resourceName field is set.

hasUri()

public boolean hasUri()

The URI of the resource.

string uri = 1;

Returns
TypeDescription
boolean

Whether the uri field is set.

hasUseCase() (deprecated)

public boolean hasUseCase()

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

Use case (CUJ) of the resource.

string use_case = 3 [deprecated = true];

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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