Class PrivateEndpoints (1.15.0)

public final class PrivateEndpoints extends GeneratedMessageV3 implements PrivateEndpointsOrBuilder

PrivateEndpoints proto is used to provide paths for users to send requests privately. To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment.

Protobuf type google.cloud.vertexai.v1.PrivateEndpoints

Static Fields

EXPLAIN_HTTP_URI_FIELD_NUMBER

public static final int EXPLAIN_HTTP_URI_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_HTTP_URI_FIELD_NUMBER

public static final int HEALTH_HTTP_URI_FIELD_NUMBER
Field Value
Type Description
int

PREDICT_HTTP_URI_FIELD_NUMBER

public static final int PREDICT_HTTP_URI_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ATTACHMENT_FIELD_NUMBER

public static final int SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivateEndpoints getDefaultInstance()
Returns
Type Description
PrivateEndpoints

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PrivateEndpoints.Builder newBuilder()
Returns
Type Description
PrivateEndpoints.Builder

newBuilder(PrivateEndpoints prototype)

public static PrivateEndpoints.Builder newBuilder(PrivateEndpoints prototype)
Parameter
Name Description
prototype PrivateEndpoints
Returns
Type Description
PrivateEndpoints.Builder

parseDelimitedFrom(InputStream input)

public static PrivateEndpoints parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivateEndpoints parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivateEndpoints parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivateEndpoints parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivateEndpoints parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivateEndpoints parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateEndpoints
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivateEndpoints> parser()
Returns
Type Description
Parser<PrivateEndpoints>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PrivateEndpoints getDefaultInstanceForType()
Returns
Type Description
PrivateEndpoints

getExplainHttpUri()

public String getExplainHttpUri()

Output only. Http(s) path to send explain requests.

string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The explainHttpUri.

getExplainHttpUriBytes()

public ByteString getExplainHttpUriBytes()

Output only. Http(s) path to send explain requests.

string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for explainHttpUri.

getHealthHttpUri()

public String getHealthHttpUri()

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The healthHttpUri.

getHealthHttpUriBytes()

public ByteString getHealthHttpUriBytes()

Output only. Http(s) path to send health check requests.

string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for healthHttpUri.

getParserForType()

public Parser<PrivateEndpoints> getParserForType()
Returns
Type Description
Parser<PrivateEndpoints>
Overrides

getPredictHttpUri()

public String getPredictHttpUri()

Output only. Http(s) path to send prediction requests.

string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The predictHttpUri.

getPredictHttpUriBytes()

public ByteString getPredictHttpUriBytes()

Output only. Http(s) path to send prediction requests.

string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for predictHttpUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAttachment()

public String getServiceAttachment()

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAttachment.

getServiceAttachmentBytes()

public ByteString getServiceAttachmentBytes()

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAttachment.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivateEndpoints.Builder newBuilderForType()
Returns
Type Description
PrivateEndpoints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivateEndpoints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivateEndpoints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PrivateEndpoints.Builder toBuilder()
Returns
Type Description
PrivateEndpoints.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException