Class PrivateServiceConnectConfig (3.22.0)

public final class PrivateServiceConnectConfig extends GeneratedMessageV3 implements PrivateServiceConnectConfigOrBuilder

Represents configuration for private service connect.

Protobuf type google.cloud.aiplatform.v1.PrivateServiceConnectConfig

Static Fields

ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER

public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ALLOWLIST_FIELD_NUMBER

public static final int PROJECT_ALLOWLIST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivateServiceConnectConfig getDefaultInstance()
Returns
TypeDescription
PrivateServiceConnectConfig

getDescriptor()

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

newBuilder()

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

newBuilder(PrivateServiceConnectConfig prototype)

public static PrivateServiceConnectConfig.Builder newBuilder(PrivateServiceConnectConfig prototype)
Parameter
NameDescription
prototypePrivateServiceConnectConfig
Returns
TypeDescription
PrivateServiceConnectConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PrivateServiceConnectConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enablePrivateServiceConnect.

getParserForType()

public Parser<PrivateServiceConnectConfig> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the projectAllowlist.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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