Package namespace.cloud.compute.v1beta
Class Compute.CreateInstanceRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.compute.v1beta.Compute.CreateInstanceRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Compute.CreateInstanceRequestOrBuilder
- Enclosing class:
Compute
public static final class Compute.CreateInstanceRequest
extends com.google.protobuf.GeneratedMessage
implements Compute.CreateInstanceRequestOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.CreateInstanceRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typenamespace.cloud.compute.v1beta.CreateInstanceRequeststatic final classProtobuf typenamespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeaturesstatic interfacestatic enumProtobuf enumnamespace.cloud.compute.v1beta.CreateInstanceRequest.Featurestatic final classProtobuf typenamespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfigurationstatic interfacestatic final classProtobuf typenamespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicystatic 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>, 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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanAdditional authenticated registries that can be targeted when pulling images.booleanDeprecated.intAdditional authenticated registries that can be targeted when pulling images.Additional authenticated registries that can be targeted when pulling images.getAdditionalRegistriesOrDefault(String key, Compute.AdditionalRegistry defaultValue) Additional authenticated registries that can be targeted when pulling images.Additional authenticated registries that can be targeted when pulling images.getApplications(int index) Start the specified applications on the instance without using containerization.intStart the specified applications on the instance without using containerization.Start the specified applications on the instance without using containerization.getApplicationsOrBuilder(int index) Start the specified applications on the instance without using containerization.List<? extends Compute.ApplicationRequestOrBuilder> Start the specified applications on the instance without using containerization.Enable container caching.Enable container caching.getContainers(int index) Start the specified containers as part of instance creation.intStart the specified containers as part of instance creation.Start the specified containers as part of instance creation.getContainersOrBuilder(int index) Start the specified containers as part of instance creation.List<? extends Compute.ContainerRequestOrBuilder> Start the specified containers as part of instance creation.com.google.protobuf.TimestampTimestamp of when this instance should be released (in UTC).com.google.protobuf.TimestampOrBuilderTimestamp of when this instance should be released (in UTC).static final com.google.protobuf.Descriptors.DescriptorA human-facing description of the purpose of this instance.com.google.protobuf.ByteStringA human-facing description of the purpose of this instance.A set of experimental features that should be attached to this instance.A set of experimental features that should be attached to this instance.A list of features that should be enabled in this instance.A list of features that should be enabled in this instance.getFeatures(int index) A list of features that should be enabled in this instance.intA list of features that should be enabled in this instance.A list of features that should be enabled in this instance.intgetFeaturesValue(int index) A list of features that should be enabled in this instance.A list of features that should be enabled in this instance.We'll HTTP POST on this URL whenever the instance changes state.We'll HTTP POST on this URL whenever the instance changes state.Domain used to construct ingress hostnames for the instance.com.google.protobuf.ByteStringDomain used to construct ingress hostnames for the instance.getIngresses(int index) Ingresses backed by ports exposed directly by the instance.intIngresses backed by ports exposed directly by the instance.Ingresses backed by ports exposed directly by the instance.getIngressesOrBuilder(int index) Ingresses backed by ports exposed directly by the instance.List<? extends Compute.IngressOrBuilder> Ingresses backed by ports exposed directly by the instance.booleanDeprecated and ignored; it used to allow creation queueing.getLabels(int index) A set of labels that are attached to the new instance.intA set of labels that are attached to the new instance.A set of labels that are attached to the new instance.getLabelsOrBuilder(int index) A set of labels that are attached to the new instance.List<? extends Labels.LabelOrBuilder> A set of labels that are attached to the new instance.Network policy to apply to the instance.Network policy to apply to the instance.com.google.protobuf.Parser<Compute.CreateInstanceRequest> getPlacement(int index) Ordered placement selectors.com.google.protobuf.ByteStringgetPlacementBytes(int index) Ordered placement selectors.intOrdered placement selectors.com.google.protobuf.ProtocolStringListOrdered placement selectors.Requests that the new instance be created in the specified region.com.google.protobuf.ByteStringRequests that the new instance be created in the specified region.intgetShape()The shape of the instance to be created.The shape of the instance to be created.getVolumes(int index) Attach storage to the instance, notably, cache volumes.intAttach storage to the instance, notably, cache volumes.Attach storage to the instance, notably, cache volumes.getVolumesOrBuilder(int index) Attach storage to the instance, notably, cache volumes.List<? extends Compute.VolumeRequestOrBuilder> Attach storage to the instance, notably, cache volumes.getWorkloadPermissions(int index) The set of permissions to grant to the workload running in this instance.intThe set of permissions to grant to the workload running in this instance.The set of permissions to grant to the workload running in this instance.getWorkloadPermissionsOrBuilder(int index) The set of permissions to grant to the workload running in this instance.List<? extends Authz.PermissionOrBuilder> The set of permissions to grant to the workload running in this instance.booleanEnable container caching.booleanTimestamp of when this instance should be released (in UTC).booleanA set of experimental features that should be attached to this instance.booleanA list of features that should be enabled in this instance.inthashCode()booleanWe'll HTTP POST on this URL whenever the instance changes state.booleanNetwork policy to apply to the instance.booleanhasShape()The shape of the instance to be created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(Compute.CreateInstanceRequest prototype) protected Compute.CreateInstanceRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Compute.CreateInstanceRequest> 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, 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
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER- See Also:
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER- See Also:
-
FEATURE_CONFIGURATION_FIELD_NUMBER
public static final int FEATURE_CONFIGURATION_FIELD_NUMBER- See Also:
-
DOCUMENTED_PURPOSE_FIELD_NUMBER
public static final int DOCUMENTED_PURPOSE_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
DEADLINE_FIELD_NUMBER
public static final int DEADLINE_FIELD_NUMBER- See Also:
-
INTERACTIVE_FIELD_NUMBER
public static final int INTERACTIVE_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
PLACEMENT_FIELD_NUMBER
public static final int PLACEMENT_FIELD_NUMBER- See Also:
-
CONTAINERS_FIELD_NUMBER
public static final int CONTAINERS_FIELD_NUMBER- See Also:
-
INGRESSES_FIELD_NUMBER
public static final int INGRESSES_FIELD_NUMBER- See Also:
-
INGRESS_BASE_DOMAIN_FIELD_NUMBER
public static final int INGRESS_BASE_DOMAIN_FIELD_NUMBER- See Also:
-
APPLICATIONS_FIELD_NUMBER
public static final int APPLICATIONS_FIELD_NUMBER- See Also:
-
EXPERIMENTAL_FIELD_NUMBER
public static final int EXPERIMENTAL_FIELD_NUMBER- See Also:
-
VOLUMES_FIELD_NUMBER
public static final int VOLUMES_FIELD_NUMBER- See Also:
-
CONTAINER_CACHE_FIELD_NUMBER
public static final int CONTAINER_CACHE_FIELD_NUMBER- See Also:
-
HTTP_EVENT_CALLBACK_FIELD_NUMBER
public static final int HTTP_EVENT_CALLBACK_FIELD_NUMBER- See Also:
-
ADDITIONAL_REGISTRIES_FIELD_NUMBER
public static final int ADDITIONAL_REGISTRIES_FIELD_NUMBER- See Also:
-
WORKLOAD_PERMISSIONS_FIELD_NUMBER
public static final int WORKLOAD_PERMISSIONS_FIELD_NUMBER- See Also:
-
NETWORK_POLICY_FIELD_NUMBER
public static final int NETWORK_POLICY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasShape
public boolean hasShape()The shape of the instance to be created.
.namespace.cloud.compute.v1beta.InstanceShape shape = 1;- Specified by:
hasShapein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
The shape of the instance to be created.
.namespace.cloud.compute.v1beta.InstanceShape shape = 1;- Specified by:
getShapein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The shape.
-
getShapeOrBuilder
The shape of the instance to be created.
.namespace.cloud.compute.v1beta.InstanceShape shape = 1;- Specified by:
getShapeOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getFeaturesList
A list of features that should be enabled in this instance. Deprecated: use feature_configuration below instead.
repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;- Specified by:
getFeaturesListin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()A list of features that should be enabled in this instance. Deprecated: use feature_configuration below instead.
repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;- Specified by:
getFeaturesCountin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The count of features.
-
getFeatures
A list of features that should be enabled in this instance. Deprecated: use feature_configuration below instead.
repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;- Specified by:
getFeaturesin interfaceCompute.CreateInstanceRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The features at the given index.
-
getFeaturesValueList
A list of features that should be enabled in this instance. Deprecated: use feature_configuration below instead.
repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;- Specified by:
getFeaturesValueListin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for features.
-
getFeaturesValue
public int getFeaturesValue(int index) A list of features that should be enabled in this instance. Deprecated: use feature_configuration below instead.
repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;- Specified by:
getFeaturesValuein interfaceCompute.CreateInstanceRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of features at the given index.
-
hasFeatureConfiguration
public boolean hasFeatureConfiguration()A list of features that should be enabled in this instance.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;- Specified by:
hasFeatureConfigurationin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the featureConfiguration field is set.
-
getFeatureConfiguration
A list of features that should be enabled in this instance.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;- Specified by:
getFeatureConfigurationin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The featureConfiguration.
-
getFeatureConfigurationOrBuilder
public Compute.CreateInstanceRequest.FeatureConfigurationOrBuilder getFeatureConfigurationOrBuilder()A list of features that should be enabled in this instance.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;- Specified by:
getFeatureConfigurationOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getDocumentedPurpose
A human-facing description of the purpose of this instance. Used for debugging purposes.
string documented_purpose = 4;- Specified by:
getDocumentedPurposein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The documentedPurpose.
-
getDocumentedPurposeBytes
public com.google.protobuf.ByteString getDocumentedPurposeBytes()A human-facing description of the purpose of this instance. Used for debugging purposes.
string documented_purpose = 4;- Specified by:
getDocumentedPurposeBytesin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The bytes for documentedPurpose.
-
getLabelsList
A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest.
repeated .namespace.stdlib.Label labels = 5;- Specified by:
getLabelsListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getLabelsOrBuilderList
A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest.
repeated .namespace.stdlib.Label labels = 5;- Specified by:
getLabelsOrBuilderListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getLabelsCount
public int getLabelsCount()A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest.
repeated .namespace.stdlib.Label labels = 5;- Specified by:
getLabelsCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
getLabels
A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest.
repeated .namespace.stdlib.Label labels = 5;- Specified by:
getLabelsin interfaceCompute.CreateInstanceRequestOrBuilder
-
getLabelsOrBuilder
A set of labels that are attached to the new instance. Instances can be queried based on labels, see also ListInstancesRequest.
repeated .namespace.stdlib.Label labels = 5;- Specified by:
getLabelsOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
hasDeadline
public boolean hasDeadline()Timestamp of when this instance should be released (in UTC). Requested deadlines can be modified by policy. For example, if a workspace is configured with a maximum deadline of 24h, and a instance is created with a requested deadline of 48h, the resulting instance will have a deadline of 24h. When a instance hits its deadline, processes within will receive a `SIGTERM` and have a maximum time to shutdown gracefully before the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp deadline = 6;- Specified by:
hasDeadlinein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the deadline field is set.
-
getDeadline
public com.google.protobuf.Timestamp getDeadline()Timestamp of when this instance should be released (in UTC). Requested deadlines can be modified by policy. For example, if a workspace is configured with a maximum deadline of 24h, and a instance is created with a requested deadline of 48h, the resulting instance will have a deadline of 24h. When a instance hits its deadline, processes within will receive a `SIGTERM` and have a maximum time to shutdown gracefully before the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp deadline = 6;- Specified by:
getDeadlinein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The deadline.
-
getDeadlineOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeadlineOrBuilder()Timestamp of when this instance should be released (in UTC). Requested deadlines can be modified by policy. For example, if a workspace is configured with a maximum deadline of 24h, and a instance is created with a requested deadline of 48h, the resulting instance will have a deadline of 24h. When a instance hits its deadline, processes within will receive a `SIGTERM` and have a maximum time to shutdown gracefully before the instance is destroyed. Note: In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
.google.protobuf.Timestamp deadline = 6;- Specified by:
getDeadlineOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getInteractive
public boolean getInteractive()Deprecated and ignored; it used to allow creation queueing.
bool interactive = 7;- Specified by:
getInteractivein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The interactive.
-
getRegion
Requests that the new instance be created in the specified region. Typically a region is not set. In that case, the Namespace platform makes a placement a decision on behalf of users based on the type of workload, tenant policies and available global capacity.
string region = 8;- Specified by:
getRegionin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Requests that the new instance be created in the specified region. Typically a region is not set. In that case, the Namespace platform makes a placement a decision on behalf of users based on the type of workload, tenant policies and available global capacity.
string region = 8;- Specified by:
getRegionBytesin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The bytes for region.
-
getPlacementList
public com.google.protobuf.ProtocolStringList getPlacementList()Ordered placement selectors. Each entry must be one of: - `cell:<cell-name>` (for example `cell:iad2-a`) - `site:<site-name>` (for example `site:iad2`) - `continent:<continent-name>` (for example `continent:us`) - `any`
repeated string placement = 19;- Specified by:
getPlacementListin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- A list containing the placement.
-
getPlacementCount
public int getPlacementCount()Ordered placement selectors. Each entry must be one of: - `cell:<cell-name>` (for example `cell:iad2-a`) - `site:<site-name>` (for example `site:iad2`) - `continent:<continent-name>` (for example `continent:us`) - `any`
repeated string placement = 19;- Specified by:
getPlacementCountin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The count of placement.
-
getPlacement
Ordered placement selectors. Each entry must be one of: - `cell:<cell-name>` (for example `cell:iad2-a`) - `site:<site-name>` (for example `site:iad2`) - `continent:<continent-name>` (for example `continent:us`) - `any`
repeated string placement = 19;- Specified by:
getPlacementin interfaceCompute.CreateInstanceRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The placement at the given index.
-
getPlacementBytes
public com.google.protobuf.ByteString getPlacementBytes(int index) Ordered placement selectors. Each entry must be one of: - `cell:<cell-name>` (for example `cell:iad2-a`) - `site:<site-name>` (for example `site:iad2`) - `continent:<continent-name>` (for example `continent:us`) - `any`
repeated string placement = 19;- Specified by:
getPlacementBytesin interfaceCompute.CreateInstanceRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the placement at the given index.
-
getContainersList
Start the specified containers as part of instance creation. Containers are deployed to `containerd` directly. See ContainerRequest for more details. Only supported on Linux platform.
repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;- Specified by:
getContainersListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getContainersOrBuilderList
Start the specified containers as part of instance creation. Containers are deployed to `containerd` directly. See ContainerRequest for more details. Only supported on Linux platform.
repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;- Specified by:
getContainersOrBuilderListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getContainersCount
public int getContainersCount()Start the specified containers as part of instance creation. Containers are deployed to `containerd` directly. See ContainerRequest for more details. Only supported on Linux platform.
repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;- Specified by:
getContainersCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
getContainers
Start the specified containers as part of instance creation. Containers are deployed to `containerd` directly. See ContainerRequest for more details. Only supported on Linux platform.
repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;- Specified by:
getContainersin interfaceCompute.CreateInstanceRequestOrBuilder
-
getContainersOrBuilder
Start the specified containers as part of instance creation. Containers are deployed to `containerd` directly. See ContainerRequest for more details. Only supported on Linux platform.
repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;- Specified by:
getContainersOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getIngressesList
Ingresses backed by ports exposed directly by the instance. Unlike container export ports, these can target any supported platform.
repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;- Specified by:
getIngressesListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getIngressesOrBuilderList
Ingresses backed by ports exposed directly by the instance. Unlike container export ports, these can target any supported platform.
repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;- Specified by:
getIngressesOrBuilderListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getIngressesCount
public int getIngressesCount()Ingresses backed by ports exposed directly by the instance. Unlike container export ports, these can target any supported platform.
repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;- Specified by:
getIngressesCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
getIngresses
Ingresses backed by ports exposed directly by the instance. Unlike container export ports, these can target any supported platform.
repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;- Specified by:
getIngressesin interfaceCompute.CreateInstanceRequestOrBuilder
-
getIngressesOrBuilder
Ingresses backed by ports exposed directly by the instance. Unlike container export ports, these can target any supported platform.
repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;- Specified by:
getIngressesOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getIngressBaseDomain
Domain used to construct ingress hostnames for the instance. The workspace must be configured to allow the requested domain.
string ingress_base_domain = 21;- Specified by:
getIngressBaseDomainin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The ingressBaseDomain.
-
getIngressBaseDomainBytes
public com.google.protobuf.ByteString getIngressBaseDomainBytes()Domain used to construct ingress hostnames for the instance. The workspace must be configured to allow the requested domain.
string ingress_base_domain = 21;- Specified by:
getIngressBaseDomainBytesin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The bytes for ingressBaseDomain.
-
getApplicationsList
Start the specified applications on the instance without using containerization. See ApplicationRequest for details.
repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;- Specified by:
getApplicationsListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getApplicationsOrBuilderList
Start the specified applications on the instance without using containerization. See ApplicationRequest for details.
repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;- Specified by:
getApplicationsOrBuilderListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getApplicationsCount
public int getApplicationsCount()Start the specified applications on the instance without using containerization. See ApplicationRequest for details.
repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;- Specified by:
getApplicationsCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
getApplications
Start the specified applications on the instance without using containerization. See ApplicationRequest for details.
repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;- Specified by:
getApplicationsin interfaceCompute.CreateInstanceRequestOrBuilder
-
getApplicationsOrBuilder
Start the specified applications on the instance without using containerization. See ApplicationRequest for details.
repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;- Specified by:
getApplicationsOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
hasExperimental
public boolean hasExperimental()A set of experimental features that should be attached to this instance. Experimental features may be removed or modified at any time by the Namespace team.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures experimental = 10;- Specified by:
hasExperimentalin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the experimental field is set.
-
getExperimental
A set of experimental features that should be attached to this instance. Experimental features may be removed or modified at any time by the Namespace team.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures experimental = 10;- Specified by:
getExperimentalin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The experimental.
-
getExperimentalOrBuilder
A set of experimental features that should be attached to this instance. Experimental features may be removed or modified at any time by the Namespace team.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures experimental = 10;- Specified by:
getExperimentalOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getVolumesList
Attach storage to the instance, notably, cache volumes. See https://namespace.so/docs/architecture/storage/cache-volumes for details.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getVolumesOrBuilderList
Attach storage to the instance, notably, cache volumes. See https://namespace.so/docs/architecture/storage/cache-volumes for details.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesOrBuilderListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getVolumesCount
public int getVolumesCount()Attach storage to the instance, notably, cache volumes. See https://namespace.so/docs/architecture/storage/cache-volumes for details.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
getVolumes
Attach storage to the instance, notably, cache volumes. See https://namespace.so/docs/architecture/storage/cache-volumes for details.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesin interfaceCompute.CreateInstanceRequestOrBuilder
-
getVolumesOrBuilder
Attach storage to the instance, notably, cache volumes. See https://namespace.so/docs/architecture/storage/cache-volumes for details.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
hasContainerCache
public boolean hasContainerCache()Enable container caching. Container caching is only available on Linux.
.namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;- Specified by:
hasContainerCachein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the containerCache field is set.
-
getContainerCache
Enable container caching. Container caching is only available on Linux.
.namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;- Specified by:
getContainerCachein interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The containerCache.
-
getContainerCacheOrBuilder
Enable container caching. Container caching is only available on Linux.
.namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;- Specified by:
getContainerCacheOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
hasHttpEventCallback
public boolean hasHttpEventCallback()We'll HTTP POST on this URL whenever the instance changes state. The body of the post will be application/json with a serialized InstanceEventMetadata.
.namespace.stdlib.HttpCallbackEndpoint http_event_callback = 15;- Specified by:
hasHttpEventCallbackin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the httpEventCallback field is set.
-
getHttpEventCallback
We'll HTTP POST on this URL whenever the instance changes state. The body of the post will be application/json with a serialized InstanceEventMetadata.
.namespace.stdlib.HttpCallbackEndpoint http_event_callback = 15;- Specified by:
getHttpEventCallbackin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The httpEventCallback.
-
getHttpEventCallbackOrBuilder
We'll HTTP POST on this URL whenever the instance changes state. The body of the post will be application/json with a serialized InstanceEventMetadata.
.namespace.stdlib.HttpCallbackEndpoint http_event_callback = 15;- Specified by:
getHttpEventCallbackOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
getAdditionalRegistriesCount
public int getAdditionalRegistriesCount()Description copied from interface:Compute.CreateInstanceRequestOrBuilderAdditional authenticated registries that can be targeted when pulling images. The map key is the registry address.
map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;- Specified by:
getAdditionalRegistriesCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
containsAdditionalRegistries
Additional authenticated registries that can be targeted when pulling images. The map key is the registry address.
map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;- Specified by:
containsAdditionalRegistriesin interfaceCompute.CreateInstanceRequestOrBuilder
-
getAdditionalRegistries
Deprecated.UsegetAdditionalRegistriesMap()instead.- Specified by:
getAdditionalRegistriesin interfaceCompute.CreateInstanceRequestOrBuilder
-
getAdditionalRegistriesMap
Additional authenticated registries that can be targeted when pulling images. The map key is the registry address.
map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;- Specified by:
getAdditionalRegistriesMapin interfaceCompute.CreateInstanceRequestOrBuilder
-
getAdditionalRegistriesOrDefault
public Compute.AdditionalRegistry getAdditionalRegistriesOrDefault(String key, Compute.AdditionalRegistry defaultValue) Additional authenticated registries that can be targeted when pulling images. The map key is the registry address.
map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;- Specified by:
getAdditionalRegistriesOrDefaultin interfaceCompute.CreateInstanceRequestOrBuilder
-
getAdditionalRegistriesOrThrow
Additional authenticated registries that can be targeted when pulling images. The map key is the registry address.
map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;- Specified by:
getAdditionalRegistriesOrThrowin interfaceCompute.CreateInstanceRequestOrBuilder
-
getWorkloadPermissionsList
The set of permissions to grant to the workload running in this instance. If not specified, inherits the tenant's default workload permissions. If the tenant token used to authenticate this request does not itself grant a requested permission, the request fails with `PermissionDenied`. See https://namespace.so/docs/security/permissions for available permissions.
repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;- Specified by:
getWorkloadPermissionsListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getWorkloadPermissionsOrBuilderList
The set of permissions to grant to the workload running in this instance. If not specified, inherits the tenant's default workload permissions. If the tenant token used to authenticate this request does not itself grant a requested permission, the request fails with `PermissionDenied`. See https://namespace.so/docs/security/permissions for available permissions.
repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;- Specified by:
getWorkloadPermissionsOrBuilderListin interfaceCompute.CreateInstanceRequestOrBuilder
-
getWorkloadPermissionsCount
public int getWorkloadPermissionsCount()The set of permissions to grant to the workload running in this instance. If not specified, inherits the tenant's default workload permissions. If the tenant token used to authenticate this request does not itself grant a requested permission, the request fails with `PermissionDenied`. See https://namespace.so/docs/security/permissions for available permissions.
repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;- Specified by:
getWorkloadPermissionsCountin interfaceCompute.CreateInstanceRequestOrBuilder
-
getWorkloadPermissions
The set of permissions to grant to the workload running in this instance. If not specified, inherits the tenant's default workload permissions. If the tenant token used to authenticate this request does not itself grant a requested permission, the request fails with `PermissionDenied`. See https://namespace.so/docs/security/permissions for available permissions.
repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;- Specified by:
getWorkloadPermissionsin interfaceCompute.CreateInstanceRequestOrBuilder
-
getWorkloadPermissionsOrBuilder
The set of permissions to grant to the workload running in this instance. If not specified, inherits the tenant's default workload permissions. If the tenant token used to authenticate this request does not itself grant a requested permission, the request fails with `PermissionDenied`. See https://namespace.so/docs/security/permissions for available permissions.
repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;- Specified by:
getWorkloadPermissionsOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
hasNetworkPolicy
public boolean hasNetworkPolicy()Network policy to apply to the instance. See https://namespace.so/docs/architecture/networking/security for details.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicy network_policy = 18;- Specified by:
hasNetworkPolicyin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- Whether the networkPolicy field is set.
-
getNetworkPolicy
Network policy to apply to the instance. See https://namespace.so/docs/architecture/networking/security for details.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicy network_policy = 18;- Specified by:
getNetworkPolicyin interfaceCompute.CreateInstanceRequestOrBuilder- Returns:
- The networkPolicy.
-
getNetworkPolicyOrBuilder
Network policy to apply to the instance. See https://namespace.so/docs/architecture/networking/security for details.
.namespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicy network_policy = 18;- Specified by:
getNetworkPolicyOrBuilderin interfaceCompute.CreateInstanceRequestOrBuilder
-
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 Compute.CreateInstanceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Compute.CreateInstanceRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Compute.CreateInstanceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Compute.CreateInstanceRequest 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
public static Compute.CreateInstanceRequest.Builder newBuilder(Compute.CreateInstanceRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Compute.CreateInstanceRequest.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
-