public final class PrivateServiceConnectConfig extends GeneratedMessageV3 implements PrivateServiceConnectConfigOrBuilder
Represents configuration for private service connect.
Protobuf type google.cloud.vertexai.v1.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
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 |
|
SERVICE_ATTACHMENT_FIELD_NUMBER
public static final int SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PrivateServiceConnectConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PrivateServiceConnectConfig.Builder newBuilder()
newBuilder(PrivateServiceConnectConfig prototype)
public static PrivateServiceConnectConfig.Builder newBuilder(PrivateServiceConnectConfig prototype)
public static PrivateServiceConnectConfig parseDelimitedFrom(InputStream input)
public static PrivateServiceConnectConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PrivateServiceConnectConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PrivateServiceConnectConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
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)
parseFrom(ByteBuffer data)
public static PrivateServiceConnectConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivateServiceConnectConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PrivateServiceConnectConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PrivateServiceConnectConfig getDefaultInstanceForType()
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()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceAttachment()
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.
|
getServiceAttachmentBytes()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PrivateServiceConnectConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivateServiceConnectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PrivateServiceConnectConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides