Class DeployedIndexRef.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployedIndexRef.Builder>
com.google.cloud.aiplatform.v1.DeployedIndexRef.Builder
All Implemented Interfaces:
DeployedIndexRefOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeployedIndexRef

public static final class DeployedIndexRef.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployedIndexRef.Builder> implements DeployedIndexRefOrBuilder
 Points to a DeployedIndex.
 
Protobuf type google.cloud.aiplatform.v1.DeployedIndexRef
  • 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.Builder<DeployedIndexRef.Builder>
    • clear

      public DeployedIndexRef.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DeployedIndexRef.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DeployedIndexRef.Builder>
    • getDefaultInstanceForType

      public DeployedIndexRef getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DeployedIndexRef build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DeployedIndexRef buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DeployedIndexRef.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployedIndexRef.Builder>
    • mergeFrom

      public DeployedIndexRef.Builder mergeFrom(DeployedIndexRef other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployedIndexRef.Builder>
    • mergeFrom

      public DeployedIndexRef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployedIndexRef.Builder>
      Throws:
      IOException
    • getIndexEndpoint

      public String getIndexEndpoint()
       Immutable. A resource name of the IndexEndpoint.
       
      string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getIndexEndpoint in interface DeployedIndexRefOrBuilder
      Returns:
      The indexEndpoint.
    • getIndexEndpointBytes

      public com.google.protobuf.ByteString getIndexEndpointBytes()
       Immutable. A resource name of the IndexEndpoint.
       
      string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getIndexEndpointBytes in interface DeployedIndexRefOrBuilder
      Returns:
      The bytes for indexEndpoint.
    • setIndexEndpoint

      public DeployedIndexRef.Builder setIndexEndpoint(String value)
       Immutable. A resource name of the IndexEndpoint.
       
      string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The indexEndpoint to set.
      Returns:
      This builder for chaining.
    • clearIndexEndpoint

      public DeployedIndexRef.Builder clearIndexEndpoint()
       Immutable. A resource name of the IndexEndpoint.
       
      string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setIndexEndpointBytes

      public DeployedIndexRef.Builder setIndexEndpointBytes(com.google.protobuf.ByteString value)
       Immutable. A resource name of the IndexEndpoint.
       
      string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for indexEndpoint to set.
      Returns:
      This builder for chaining.
    • getDeployedIndexId

      public String getDeployedIndexId()
       Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getDeployedIndexId in interface DeployedIndexRefOrBuilder
      Returns:
      The deployedIndexId.
    • getDeployedIndexIdBytes

      public com.google.protobuf.ByteString getDeployedIndexIdBytes()
       Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getDeployedIndexIdBytes in interface DeployedIndexRefOrBuilder
      Returns:
      The bytes for deployedIndexId.
    • setDeployedIndexId

      public DeployedIndexRef.Builder setDeployedIndexId(String value)
       Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The deployedIndexId to set.
      Returns:
      This builder for chaining.
    • clearDeployedIndexId

      public DeployedIndexRef.Builder clearDeployedIndexId()
       Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setDeployedIndexIdBytes

      public DeployedIndexRef.Builder setDeployedIndexIdBytes(com.google.protobuf.ByteString value)
       Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for deployedIndexId to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Output only. The display name of the DeployedIndex.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface DeployedIndexRefOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. The display name of the DeployedIndex.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface DeployedIndexRefOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DeployedIndexRef.Builder setDisplayName(String value)
       Output only. The display name of the DeployedIndex.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DeployedIndexRef.Builder clearDisplayName()
       Output only. The display name of the DeployedIndex.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DeployedIndexRef.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name of the DeployedIndex.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.