Class PublisherModel.ResourceReference

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.PublisherModel.ResourceReference
All Implemented Interfaces:
PublisherModel.ResourceReferenceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
PublisherModel

public static final class PublisherModel.ResourceReference extends com.google.protobuf.GeneratedMessage implements PublisherModel.ResourceReferenceOrBuilder
 Reference to a resource.
 
Protobuf type google.cloud.aiplatform.v1.PublisherModel.ResourceReference
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getReferenceCase

      Specified by:
      getReferenceCase in interface PublisherModel.ResourceReferenceOrBuilder
    • hasUri

      public boolean hasUri()
       The URI of the resource.
       
      string uri = 1;
      Specified by:
      hasUri in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      Whether the uri field is set.
    • getUri

      public String getUri()
       The URI of the resource.
       
      string uri = 1;
      Specified by:
      getUri in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       The URI of the resource.
       
      string uri = 1;
      Specified by:
      getUriBytes in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The bytes for uri.
    • hasResourceName

      public boolean hasResourceName()
       The resource name of the Google Cloud resource.
       
      string resource_name = 2;
      Specified by:
      hasResourceName in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      Whether the resourceName field is set.
    • getResourceName

      public String getResourceName()
       The resource name of the Google Cloud resource.
       
      string resource_name = 2;
      Specified by:
      getResourceName in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       The resource name of the Google Cloud resource.
       
      string resource_name = 2;
      Specified by:
      getResourceNameBytes in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The bytes for resourceName.
    • 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];
      Specified by:
      hasUseCase in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      Whether the useCase field is set.
    • 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];
      Specified by:
      getUseCase in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The useCase.
    • getUseCaseBytes

      @Deprecated public 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
       Use case (CUJ) of the resource.
       
      string use_case = 3 [deprecated = true];
      Specified by:
      getUseCaseBytes in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      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];
      Specified by:
      hasDescription in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      Whether the description field is set.
    • 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];
      Specified by:
      getDescription in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      @Deprecated public 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
       Description of the resource.
       
      string description = 4 [deprecated = true];
      Specified by:
      getDescriptionBytes in interface PublisherModel.ResourceReferenceOrBuilder
      Returns:
      The bytes for description.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PublisherModel.ResourceReference parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PublisherModel.ResourceReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PublisherModel.ResourceReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PublisherModel.ResourceReference.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PublisherModel.ResourceReference.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PublisherModel.ResourceReference.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PublisherModel.ResourceReference getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PublisherModel.ResourceReference> parser()
    • getParserForType

      public com.google.protobuf.Parser<PublisherModel.ResourceReference> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PublisherModel.ResourceReference getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder