Class IndexPrivateEndpoints.Builder

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

public static final class IndexPrivateEndpoints.Builder extends com.google.protobuf.GeneratedMessage.Builder<IndexPrivateEndpoints.Builder> implements IndexPrivateEndpointsOrBuilder
 IndexPrivateEndpoints proto is used to provide paths for users to send
 requests via private endpoints (e.g. private service access, private service
 connect).
 To send request via private service access, use match_grpc_address.
 To send request via private service connect, use service_attachment.
 
Protobuf type google.cloud.aiplatform.v1.IndexPrivateEndpoints
  • 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<IndexPrivateEndpoints.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<IndexPrivateEndpoints.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<IndexPrivateEndpoints.Builder>
    • getDefaultInstanceForType

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

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

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

      public IndexPrivateEndpoints.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<IndexPrivateEndpoints.Builder>
    • mergeFrom

    • isInitialized

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

      public IndexPrivateEndpoints.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<IndexPrivateEndpoints.Builder>
      Throws:
      IOException
    • getMatchGrpcAddress

      public String getMatchGrpcAddress()
       Output only. The ip address used to send match gRPC requests.
       
      string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMatchGrpcAddress in interface IndexPrivateEndpointsOrBuilder
      Returns:
      The matchGrpcAddress.
    • getMatchGrpcAddressBytes

      public com.google.protobuf.ByteString getMatchGrpcAddressBytes()
       Output only. The ip address used to send match gRPC requests.
       
      string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMatchGrpcAddressBytes in interface IndexPrivateEndpointsOrBuilder
      Returns:
      The bytes for matchGrpcAddress.
    • setMatchGrpcAddress

      public IndexPrivateEndpoints.Builder setMatchGrpcAddress(String value)
       Output only. The ip address used to send match gRPC requests.
       
      string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The matchGrpcAddress to set.
      Returns:
      This builder for chaining.
    • clearMatchGrpcAddress

      public IndexPrivateEndpoints.Builder clearMatchGrpcAddress()
       Output only. The ip address used to send match gRPC requests.
       
      string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMatchGrpcAddressBytes

      public IndexPrivateEndpoints.Builder setMatchGrpcAddressBytes(com.google.protobuf.ByteString value)
       Output only. The ip address used to send match gRPC requests.
       
      string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for matchGrpcAddress to set.
      Returns:
      This builder for chaining.
    • getServiceAttachment

      public String getServiceAttachment()
       Output only. The name of the service attachment resource. Populated if
       private service connect is enabled.
       
      string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceAttachment in interface IndexPrivateEndpointsOrBuilder
      Returns:
      The serviceAttachment.
    • getServiceAttachmentBytes

      public com.google.protobuf.ByteString getServiceAttachmentBytes()
       Output only. The name of the service attachment resource. Populated if
       private service connect is enabled.
       
      string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceAttachmentBytes in interface IndexPrivateEndpointsOrBuilder
      Returns:
      The bytes for serviceAttachment.
    • setServiceAttachment

      public IndexPrivateEndpoints.Builder setServiceAttachment(String value)
       Output only. The name of the service attachment resource. Populated if
       private service connect is enabled.
       
      string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The serviceAttachment to set.
      Returns:
      This builder for chaining.
    • clearServiceAttachment

      public IndexPrivateEndpoints.Builder clearServiceAttachment()
       Output only. The name of the service attachment resource. Populated if
       private service connect is enabled.
       
      string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setServiceAttachmentBytes

      public IndexPrivateEndpoints.Builder setServiceAttachmentBytes(com.google.protobuf.ByteString value)
       Output only. The name of the service attachment resource. Populated if
       private service connect is enabled.
       
      string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for serviceAttachment to set.
      Returns:
      This builder for chaining.
    • getPscAutomatedEndpointsList

      public List<PscAutomatedEndpoints> getPscAutomatedEndpointsList()
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscAutomatedEndpointsList in interface IndexPrivateEndpointsOrBuilder
    • getPscAutomatedEndpointsCount

      public int getPscAutomatedEndpointsCount()
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscAutomatedEndpointsCount in interface IndexPrivateEndpointsOrBuilder
    • getPscAutomatedEndpoints

      public PscAutomatedEndpoints getPscAutomatedEndpoints(int index)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscAutomatedEndpoints in interface IndexPrivateEndpointsOrBuilder
    • setPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder setPscAutomatedEndpoints(int index, PscAutomatedEndpoints value)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder setPscAutomatedEndpoints(int index, PscAutomatedEndpoints.Builder builderForValue)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(PscAutomatedEndpoints value)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(int index, PscAutomatedEndpoints value)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(PscAutomatedEndpoints.Builder builderForValue)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder addPscAutomatedEndpoints(int index, PscAutomatedEndpoints.Builder builderForValue)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder addAllPscAutomatedEndpoints(Iterable<? extends PscAutomatedEndpoints> values)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder clearPscAutomatedEndpoints()
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePscAutomatedEndpoints

      public IndexPrivateEndpoints.Builder removePscAutomatedEndpoints(int index)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscAutomatedEndpointsBuilder

      public PscAutomatedEndpoints.Builder getPscAutomatedEndpointsBuilder(int index)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscAutomatedEndpointsOrBuilder

      public PscAutomatedEndpointsOrBuilder getPscAutomatedEndpointsOrBuilder(int index)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscAutomatedEndpointsOrBuilder in interface IndexPrivateEndpointsOrBuilder
    • getPscAutomatedEndpointsOrBuilderList

      public List<? extends PscAutomatedEndpointsOrBuilder> getPscAutomatedEndpointsOrBuilderList()
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscAutomatedEndpointsOrBuilderList in interface IndexPrivateEndpointsOrBuilder
    • addPscAutomatedEndpointsBuilder

      public PscAutomatedEndpoints.Builder addPscAutomatedEndpointsBuilder()
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscAutomatedEndpointsBuilder

      public PscAutomatedEndpoints.Builder addPscAutomatedEndpointsBuilder(int index)
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscAutomatedEndpointsBuilderList

      public List<PscAutomatedEndpoints.Builder> getPscAutomatedEndpointsBuilderList()
       Output only. PscAutomatedEndpoints is populated if private service connect
       is enabled if PscAutomatedConfig is set.
       
      repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];