Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public IndexPrivateEndpoints.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • clearField

        public IndexPrivateEndpoints.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • clearOneof

        public IndexPrivateEndpoints.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • setRepeatedField

        public IndexPrivateEndpoints.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • addRepeatedField

        public IndexPrivateEndpoints.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

        public final IndexPrivateEndpoints.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>
      • mergeUnknownFields

        public final IndexPrivateEndpoints.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndexPrivateEndpoints.Builder>