public static final class PublisherModel.ResourceReference.Builder extends com.google.protobuf.GeneratedMessage.Builder<PublisherModel.ResourceReference.Builder> implements PublisherModel.ResourceReferenceOrBuilder
Reference to a resource.Protobuf type
google.cloud.aiplatform.v1.PublisherModel.ResourceReference| Modifier and Type | Method and Description |
|---|---|
PublisherModel.ResourceReference |
build() |
PublisherModel.ResourceReference |
buildPartial() |
PublisherModel.ResourceReference.Builder |
clear() |
PublisherModel.ResourceReference.Builder |
clearDescription()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.description is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=51
|
PublisherModel.ResourceReference.Builder |
clearReference() |
PublisherModel.ResourceReference.Builder |
clearResourceName()
The resource name of the Google Cloud resource.
|
PublisherModel.ResourceReference.Builder |
clearUri()
The URI of the resource.
|
PublisherModel.ResourceReference.Builder |
clearUseCase()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.use_case is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=48
|
PublisherModel.ResourceReference |
getDefaultInstanceForType() |
String |
getDescription()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.description is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=51
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.description is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=51
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PublisherModel.ResourceReference.ReferenceCase |
getReferenceCase() |
String |
getResourceName()
The resource name of the Google Cloud resource.
|
com.google.protobuf.ByteString |
getResourceNameBytes()
The resource name of the Google Cloud resource.
|
String |
getUri()
The URI of the resource.
|
com.google.protobuf.ByteString |
getUriBytes()
The URI of the resource.
|
String |
getUseCase()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.use_case is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=48
|
com.google.protobuf.ByteString |
getUseCaseBytes()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.use_case is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=48
|
boolean |
hasDescription()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.description is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=51
|
boolean |
hasResourceName()
The resource name of the Google Cloud resource.
|
boolean |
hasUri()
The URI of the resource.
|
boolean |
hasUseCase()
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.use_case is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=48
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PublisherModel.ResourceReference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PublisherModel.ResourceReference.Builder |
mergeFrom(com.google.protobuf.Message other) |
PublisherModel.ResourceReference.Builder |
mergeFrom(PublisherModel.ResourceReference other) |
PublisherModel.ResourceReference.Builder |
setDescription(String value)
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.description is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=51
|
PublisherModel.ResourceReference.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.description is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=51
|
PublisherModel.ResourceReference.Builder |
setResourceName(String value)
The resource name of the Google Cloud resource.
|
PublisherModel.ResourceReference.Builder |
setResourceNameBytes(com.google.protobuf.ByteString value)
The resource name of the Google Cloud resource.
|
PublisherModel.ResourceReference.Builder |
setUri(String value)
The URI of the resource.
|
PublisherModel.ResourceReference.Builder |
setUriBytes(com.google.protobuf.ByteString value)
The URI of the resource.
|
PublisherModel.ResourceReference.Builder |
setUseCase(String value)
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.use_case is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=48
|
PublisherModel.ResourceReference.Builder |
setUseCaseBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.aiplatform.v1.PublisherModel.ResourceReference.use_case is
deprecated. See google/cloud/aiplatform/v1/publisher_model.proto;l=48
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PublisherModel.ResourceReference.Builder>public PublisherModel.ResourceReference.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<PublisherModel.ResourceReference.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PublisherModel.ResourceReference.Builder>public PublisherModel.ResourceReference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PublisherModel.ResourceReference build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PublisherModel.ResourceReference buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PublisherModel.ResourceReference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublisherModel.ResourceReference.Builder>public PublisherModel.ResourceReference.Builder mergeFrom(PublisherModel.ResourceReference other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<PublisherModel.ResourceReference.Builder>public PublisherModel.ResourceReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublisherModel.ResourceReference.Builder>IOExceptionpublic PublisherModel.ResourceReference.ReferenceCase getReferenceCase()
getReferenceCase in interface PublisherModel.ResourceReferenceOrBuilderpublic PublisherModel.ResourceReference.Builder clearReference()
public boolean hasUri()
The URI of the resource.
string uri = 1;hasUri in interface PublisherModel.ResourceReferenceOrBuilderpublic String getUri()
The URI of the resource.
string uri = 1;getUri in interface PublisherModel.ResourceReferenceOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
The URI of the resource.
string uri = 1;getUriBytes in interface PublisherModel.ResourceReferenceOrBuilderpublic PublisherModel.ResourceReference.Builder setUri(String value)
The URI of the resource.
string uri = 1;value - The uri to set.public PublisherModel.ResourceReference.Builder clearUri()
The URI of the resource.
string uri = 1;public PublisherModel.ResourceReference.Builder setUriBytes(com.google.protobuf.ByteString value)
The URI of the resource.
string uri = 1;value - The bytes for uri to set.public boolean hasResourceName()
The resource name of the Google Cloud resource.
string resource_name = 2;hasResourceName in interface PublisherModel.ResourceReferenceOrBuilderpublic String getResourceName()
The resource name of the Google Cloud resource.
string resource_name = 2;getResourceName in interface PublisherModel.ResourceReferenceOrBuilderpublic com.google.protobuf.ByteString getResourceNameBytes()
The resource name of the Google Cloud resource.
string resource_name = 2;getResourceNameBytes in interface PublisherModel.ResourceReferenceOrBuilderpublic PublisherModel.ResourceReference.Builder setResourceName(String value)
The resource name of the Google Cloud resource.
string resource_name = 2;value - The resourceName to set.public PublisherModel.ResourceReference.Builder clearResourceName()
The resource name of the Google Cloud resource.
string resource_name = 2;public PublisherModel.ResourceReference.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
The resource name of the Google Cloud resource.
string resource_name = 2;value - The bytes for resourceName to set.@Deprecated public boolean hasUseCase()
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];hasUseCase in interface PublisherModel.ResourceReferenceOrBuilder@Deprecated public String getUseCase()
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];getUseCase in interface PublisherModel.ResourceReferenceOrBuilder@Deprecated public com.google.protobuf.ByteString getUseCaseBytes()
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];getUseCaseBytes in interface PublisherModel.ResourceReferenceOrBuilder@Deprecated public PublisherModel.ResourceReference.Builder setUseCase(String value)
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];value - The useCase to set.@Deprecated public PublisherModel.ResourceReference.Builder clearUseCase()
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];@Deprecated public PublisherModel.ResourceReference.Builder setUseCaseBytes(com.google.protobuf.ByteString value)
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];value - The bytes for useCase to set.@Deprecated public boolean hasDescription()
Description of the resource.
string description = 4 [deprecated = true];hasDescription in interface PublisherModel.ResourceReferenceOrBuilder@Deprecated public String getDescription()
Description of the resource.
string description = 4 [deprecated = true];getDescription in interface PublisherModel.ResourceReferenceOrBuilder@Deprecated public com.google.protobuf.ByteString getDescriptionBytes()
Description of the resource.
string description = 4 [deprecated = true];getDescriptionBytes in interface PublisherModel.ResourceReferenceOrBuilder@Deprecated public PublisherModel.ResourceReference.Builder setDescription(String value)
Description of the resource.
string description = 4 [deprecated = true];value - The description to set.@Deprecated public PublisherModel.ResourceReference.Builder clearDescription()
Description of the resource.
string description = 4 [deprecated = true];@Deprecated public PublisherModel.ResourceReference.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the resource.
string description = 4 [deprecated = true];value - The bytes for description to set.Copyright © 2026 Google LLC. All rights reserved.