Class PrivateEndpoints (3.42.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.aiplatform.v1.PrivateEndpoints

Static Fields

EXPLAIN_HTTP_URI_FIELD_NUMBER

public static final int EXPLAIN_HTTP_URI_FIELD_NUMBER
Field Value
TypeDescription
int

HEALTH_HTTP_URI_FIELD_NUMBER

public static final int HEALTH_HTTP_URI_FIELD_NUMBER
Field Value
TypeDescription
int

PREDICT_HTTP_URI_FIELD_NUMBER

public static final int PREDICT_HTTP_URI_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ATTACHMENT_FIELD_NUMBER

public static final int SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivateEndpoints getDefaultInstance()
Returns
TypeDescription
PrivateEndpoints

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PrivateEndpoints.Builder newBuilder()
Returns
TypeDescription
PrivateEndpoints.Builder

newBuilder(PrivateEndpoints prototype)

public static PrivateEndpoints.Builder newBuilder(PrivateEndpoints prototype)
Parameter
NameDescription
prototypePrivateEndpoints
Returns
TypeDescription
PrivateEndpoints.Builder

parseDelimitedFrom(InputStream input)

public static PrivateEndpoints parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivateEndpoints parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivateEndpoints parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivateEndpoints parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivateEndpoints parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivateEndpoints parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivateEndpoints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateEndpoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivateEndpoints> parser()
Returns
TypeDescription
Parser<PrivateEndpoints>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivateEndpoints getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for healthHttpUri.

getParserForType()

public Parser<PrivateEndpoints> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for predictHttpUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceAttachment.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivateEndpoints.Builder newBuilderForType()
Returns
TypeDescription
PrivateEndpoints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivateEndpoints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivateEndpoints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivateEndpoints.Builder toBuilder()
Returns
TypeDescription
PrivateEndpoints.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException