public static final class PublisherModel.ResourceReference.Builder extends GeneratedMessage.Builder<PublisherModel.ResourceReference.Builder> implements PublisherModel.ResourceReferenceOrBuilderReference to a resource.
Protobuf type google.cloud.aiplatform.v1.PublisherModel.ResourceReference
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PublisherModel.ResourceReference.BuilderImplements
PublisherModel.ResourceReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PublisherModel.ResourceReference build()| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference |
|
buildPartial()
public PublisherModel.ResourceReference buildPartial()| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference |
|
clear()
public PublisherModel.ResourceReference.Builder clear()| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
|
clearDescription() (deprecated)
public PublisherModel.ResourceReference.Builder clearDescription()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 | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
clearReference()
public PublisherModel.ResourceReference.Builder clearReference()| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
|
clearResourceName()
public PublisherModel.ResourceReference.Builder clearResourceName()The resource name of the Google Cloud resource.
string resource_name = 2;
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
clearUri()
public PublisherModel.ResourceReference.Builder clearUri()The URI of the resource.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
clearUseCase() (deprecated)
public 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
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PublisherModel.ResourceReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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.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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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.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 | |
|---|---|
| Type | Description |
boolean |
Whether the useCase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PublisherModel.ResourceReference other)
public PublisherModel.ResourceReference.Builder mergeFrom(PublisherModel.ResourceReference other)| Parameter | |
|---|---|
| Name | Description |
other |
PublisherModel.ResourceReference |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublisherModel.ResourceReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PublisherModel.ResourceReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
|
setDescription(String value) (deprecated)
public 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
Description of the resource.
string description = 4 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value) (deprecated)
public PublisherModel.ResourceReference.Builder setDescriptionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setResourceName(String value)
public PublisherModel.ResourceReference.Builder setResourceName(String value)The resource name of the Google Cloud resource.
string resource_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceName to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setResourceNameBytes(ByteString value)
public PublisherModel.ResourceReference.Builder setResourceNameBytes(ByteString value)The resource name of the Google Cloud resource.
string resource_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceName to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setUri(String value)
public PublisherModel.ResourceReference.Builder setUri(String value)The URI of the resource.
string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public PublisherModel.ResourceReference.Builder setUriBytes(ByteString value)The URI of the resource.
string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setUseCase(String value) (deprecated)
public 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
Use case (CUJ) of the resource.
string use_case = 3 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe useCase to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |
setUseCaseBytes(ByteString value) (deprecated)
public PublisherModel.ResourceReference.Builder setUseCaseBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for useCase to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherModel.ResourceReference.Builder |
This builder for chaining. |