public final class PrivateServiceConnectConfig extends GeneratedMessageV3 implements PrivateServiceConnectConfigOrBuilder
Represents configuration for private service connect.
Protobuf type google.cloud.aiplatform.v1.PrivateServiceConnectConfig
Static Fields
public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER
Field Value
public static final int PROJECT_ALLOWLIST_FIELD_NUMBER
Field Value
Static Methods
public static PrivateServiceConnectConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static PrivateServiceConnectConfig.Builder newBuilder()
Returns
public static PrivateServiceConnectConfig.Builder newBuilder(PrivateServiceConnectConfig prototype)
Parameter
Returns
public static PrivateServiceConnectConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PrivateServiceConnectConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static PrivateServiceConnectConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<PrivateServiceConnectConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public PrivateServiceConnectConfig getDefaultInstanceForType()
Returns
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.
|
public Parser<PrivateServiceConnectConfig> getParserForType()
Returns
Overrides
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.
|
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.
|
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.
|
public ProtocolStringList getProjectAllowlistList()
A list of Projects from which the forwarding rule will target the service
attachment.
repeated string project_allowlist = 2;
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PrivateServiceConnectConfig.Builder newBuilderForType()
Returns
protected PrivateServiceConnectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public PrivateServiceConnectConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions