Class PrivateServiceConnectConfig (3.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class PrivateServiceConnectConfig extends GeneratedMessageV3 implements PrivateServiceConnectConfigOrBuilder
Represents configuration for private service connect.
Protobuf type google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROJECT_ALLOWLIST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static PrivateServiceConnectConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PrivateServiceConnectConfig.Builder newBuilder()
public static PrivateServiceConnectConfig.Builder newBuilder(PrivateServiceConnectConfig prototype)
public static PrivateServiceConnectConfig parseDelimitedFrom(InputStream input)
public static PrivateServiceConnectConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static PrivateServiceConnectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(ByteString data)
public static PrivateServiceConnectConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(CodedInputStream input)
public static PrivateServiceConnectConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(InputStream input)
public static PrivateServiceConnectConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(ByteBuffer data)
public static PrivateServiceConnectConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PrivateServiceConnectConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public PrivateServiceConnectConfig getDefaultInstanceForType()
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()
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;
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public String getServiceAttachment()
Output only. The name of the generated service attachment resource.
This is only populated if the endpoint is deployed with
PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The serviceAttachment.
|
public ByteString getServiceAttachmentBytes()
Output only. The name of the generated service attachment resource.
This is only populated if the endpoint is deployed with
PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for serviceAttachment.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PrivateServiceConnectConfig.Builder newBuilderForType()
protected PrivateServiceConnectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public PrivateServiceConnectConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]