Class PrivateServiceConnectConfig (3.44.0)

public final class PrivateServiceConnectConfig extends GeneratedMessageV3 implements PrivateServiceConnectConfigOrBuilder

Represents configuration for private service connect.

Protobuf type google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig

Static Fields

ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER

public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_ALLOWLIST_FIELD_NUMBER

public static final int PROJECT_ALLOWLIST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivateServiceConnectConfig getDefaultInstance()
Returns
Type Description
PrivateServiceConnectConfig

getDescriptor()

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

newBuilder()

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

newBuilder(PrivateServiceConnectConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PrivateServiceConnectConfig getDefaultInstanceForType()
Returns
Type Description
PrivateServiceConnectConfig

getEnablePrivateServiceConnect()

public boolean getEnablePrivateServiceConnect()

Required. If true, expose the IndexEndpoint via private service connect.

bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The enablePrivateServiceConnect.

getParserForType()

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

getProjectAllowlist(int index)

public String getProjectAllowlist(int index)

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The projectAllowlist at the given index.

getProjectAllowlistBytes(int index)

public ByteString getProjectAllowlistBytes(int index)

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the projectAllowlist at the given index.

getProjectAllowlistCount()

public int getProjectAllowlistCount()

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Returns
Type Description
int

The count of projectAllowlist.

getProjectAllowlistList()

public ProtocolStringList getProjectAllowlistList()

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Returns
Type Description
ProtocolStringList

A list containing the projectAllowlist.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 PrivateServiceConnectConfig.Builder newBuilderForType()
Returns
Type Description
PrivateServiceConnectConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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