Class Instance.PrivateConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.securesourcemanager.v1.Instance.PrivateConfig
- All Implemented Interfaces:
Instance.PrivateConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Instance
public static final class Instance.PrivateConfig
extends com.google.protobuf.GeneratedMessage
implements Instance.PrivateConfigOrBuilder
PrivateConfig includes settings for private instance.Protobuf type
google.cloud.securesourcemanager.v1.Instance.PrivateConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPrivateConfig includes settings for private instance.static final classCustom host config for the instance.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.static Instance.PrivateConfigstatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.booleanRequired.com.google.protobuf.Parser<Instance.PrivateConfig>getPscAllowedProjects(int index) Optional.com.google.protobuf.ByteStringgetPscAllowedProjectsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.intOutput only.com.google.protobuf.ByteStringOutput only.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Instance.PrivateConfig prototype) protected Instance.PrivateConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Instance.PrivateConfigparseDelimitedFrom(InputStream input) static Instance.PrivateConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PrivateConfigparseFrom(byte[] data) static Instance.PrivateConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PrivateConfigparseFrom(com.google.protobuf.ByteString data) static Instance.PrivateConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PrivateConfigparseFrom(com.google.protobuf.CodedInputStream input) static Instance.PrivateConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PrivateConfigparseFrom(InputStream input) static Instance.PrivateConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PrivateConfigparseFrom(ByteBuffer data) static Instance.PrivateConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Instance.PrivateConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IS_PRIVATE_FIELD_NUMBER
public static final int IS_PRIVATE_FIELD_NUMBER- See Also:
-
CA_POOL_FIELD_NUMBER
public static final int CA_POOL_FIELD_NUMBER- See Also:
-
HTTP_SERVICE_ATTACHMENT_FIELD_NUMBER
public static final int HTTP_SERVICE_ATTACHMENT_FIELD_NUMBER- See Also:
-
SSH_SERVICE_ATTACHMENT_FIELD_NUMBER
public static final int SSH_SERVICE_ATTACHMENT_FIELD_NUMBER- See Also:
-
PSC_ALLOWED_PROJECTS_FIELD_NUMBER
public static final int PSC_ALLOWED_PROJECTS_FIELD_NUMBER- See Also:
-
CUSTOM_HOST_CONFIG_FIELD_NUMBER
public static final int CUSTOM_HOST_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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];- Specified by:
getIsPrivatein interfaceInstance.PrivateConfigOrBuilder- Returns:
- The isPrivate.
-
getCaPool
Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCaPoolin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The caPool.
-
getCaPoolBytes
public com.google.protobuf.ByteString getCaPoolBytes()Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCaPoolBytesin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The bytes for caPool.
-
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) = { ... }- Specified by:
getHttpServiceAttachmentin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The httpServiceAttachment.
-
getHttpServiceAttachmentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getHttpServiceAttachmentBytesin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The bytes for httpServiceAttachment.
-
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) = { ... }- Specified by:
getSshServiceAttachmentin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The sshServiceAttachment.
-
getSshServiceAttachmentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getSshServiceAttachmentBytesin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The bytes for sshServiceAttachment.
-
getPscAllowedProjectsList
public com.google.protobuf.ProtocolStringList getPscAllowedProjectsList()Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.
repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAllowedProjectsListin interfaceInstance.PrivateConfigOrBuilder- Returns:
- A list containing the pscAllowedProjects.
-
getPscAllowedProjectsCount
public int getPscAllowedProjectsCount()Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.
repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAllowedProjectsCountin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The count of pscAllowedProjects.
-
getPscAllowedProjects
Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.
repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAllowedProjectsin interfaceInstance.PrivateConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pscAllowedProjects at the given index.
-
getPscAllowedProjectsBytes
public com.google.protobuf.ByteString getPscAllowedProjectsBytes(int index) Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.
repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAllowedProjectsBytesin interfaceInstance.PrivateConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pscAllowedProjects at the given index.
-
hasCustomHostConfig
public boolean hasCustomHostConfig()Optional. Custom host config for the instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCustomHostConfigin interfaceInstance.PrivateConfigOrBuilder- Returns:
- Whether the customHostConfig field is set.
-
getCustomHostConfig
Optional. Custom host config for the instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomHostConfigin interfaceInstance.PrivateConfigOrBuilder- Returns:
- The customHostConfig.
-
getCustomHostConfigOrBuilder
Optional. Custom host config for the instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomHostConfigOrBuilderin interfaceInstance.PrivateConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance.PrivateConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PrivateConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PrivateConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PrivateConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PrivateConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PrivateConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance.PrivateConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Instance.PrivateConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Instance.PrivateConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Instance.PrivateConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.PrivateConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-