Class Instance.PrivateConfig (0.18.0)

public static final class Instance.PrivateConfig extends GeneratedMessageV3 implements Instance.PrivateConfigOrBuilder

PrivateConfig includes settings for private instance.

Protobuf type google.cloud.securesourcemanager.v1.Instance.PrivateConfig

Static Fields

CA_POOL_FIELD_NUMBER

public static final int CA_POOL_FIELD_NUMBER
Field Value
Type Description
int

HTTP_SERVICE_ATTACHMENT_FIELD_NUMBER

public static final int HTTP_SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

IS_PRIVATE_FIELD_NUMBER

public static final int IS_PRIVATE_FIELD_NUMBER
Field Value
Type Description
int

SSH_SERVICE_ATTACHMENT_FIELD_NUMBER

public static final int SSH_SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.PrivateConfig getDefaultInstance()
Returns
Type Description
Instance.PrivateConfig

getDescriptor()

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

newBuilder()

public static Instance.PrivateConfig.Builder newBuilder()
Returns
Type Description
Instance.PrivateConfig.Builder

newBuilder(Instance.PrivateConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static Instance.PrivateConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.PrivateConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Instance.PrivateConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.PrivateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Instance.PrivateConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.PrivateConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Instance.PrivateConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.PrivateConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Instance.PrivateConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.PrivateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Instance.PrivateConfig> parser()
Returns
Type Description
Parser<PrivateConfig>

Methods

equals(Object obj)

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

getCaPool()

public String getCaPool()

Required. Immutable. CA pool resource, resource must in the format of projects/{project}/locations/{location}/caPools/{ca_pool}.

string ca_pool = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The caPool.

getCaPoolBytes()

public ByteString getCaPoolBytes()

Required. Immutable. CA pool resource, resource must in the format of projects/{project}/locations/{location}/caPools/{ca_pool}.

string ca_pool = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for caPool.

getDefaultInstanceForType()

public Instance.PrivateConfig getDefaultInstanceForType()
Returns
Type Description
Instance.PrivateConfig

getHttpServiceAttachment()

public String getHttpServiceAttachment()

Output only. Service Attachment for HTTP, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string http_service_attachment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The httpServiceAttachment.

getHttpServiceAttachmentBytes()

public ByteString getHttpServiceAttachmentBytes()

Output only. Service Attachment for HTTP, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string http_service_attachment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for httpServiceAttachment.

getIsPrivate()

public boolean getIsPrivate()

Required. Immutable. Indicate if it's private instance.

bool is_private = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The isPrivate.

getParserForType()

public Parser<Instance.PrivateConfig> getParserForType()
Returns
Type Description
Parser<PrivateConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSshServiceAttachment()

public String getSshServiceAttachment()

Output only. Service Attachment for SSH, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string ssh_service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The sshServiceAttachment.

getSshServiceAttachmentBytes()

public ByteString getSshServiceAttachmentBytes()

Output only. Service Attachment for SSH, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string ssh_service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for sshServiceAttachment.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Instance.PrivateConfig.Builder toBuilder()
Returns
Type Description
Instance.PrivateConfig.Builder

writeTo(CodedOutputStream output)

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