Package com.google.cloud.compute.v1
Interface InstanceTemplateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceTemplate,InstanceTemplate.Builder
@Generated
public interface InstanceTemplateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringName of the resource; provided by the client when the resource is created.The instance properties for this instance template.The instance properties for this instance template.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.The source instance used to create the template.com.google.protobuf.ByteStringThe source instance used to create the template.The source instance params to use to create this instance template.The source instance params to use to create this instance template.booleanOutput only.booleanAn optional description of this resource.booleanhasId()Output only.booleanhasKind()Output only.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanThe instance properties for this instance template.booleanOutput only.booleanOutput only.booleanThe source instance used to create the template.booleanThe source instance params to use to create this instance template.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] The creation timestamp for this instance template inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] The creation timestamp for this instance template inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] The creation timestamp for this instance template inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasId
boolean hasId()Output only. [Output Only] A unique identifier for this instance template. The server defines this identifier.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. [Output Only] A unique identifier for this instance template. The server defines this identifier.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()Output only. [Output Only] The resource type, which is alwayscompute#instanceTemplate for instance templates.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] The resource type, which is alwayscompute#instanceTemplate for instance templates.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] The resource type, which is alwayscompute#instanceTemplate for instance templates.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasProperties
boolean hasProperties()The instance properties for this instance template.
optional .google.cloud.compute.v1.InstanceProperties properties = 147688755;- Returns:
- Whether the properties field is set.
-
getProperties
InstanceProperties getProperties()The instance properties for this instance template.
optional .google.cloud.compute.v1.InstanceProperties properties = 147688755;- Returns:
- The properties.
-
getPropertiesOrBuilder
InstancePropertiesOrBuilder getPropertiesOrBuilder()The instance properties for this instance template.
optional .google.cloud.compute.v1.InstanceProperties properties = 147688755; -
hasRegion
boolean hasRegion()Output only. [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()Output only. [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
optional string region = 138946292;- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] The URL for this instance template. The server defines this URL.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] The URL for this instance template. The server defines this URL.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] The URL for this instance template. The server defines this URL.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSourceInstance
boolean hasSourceInstance()The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - projects/project/zones/zone/instances/instance
optional string source_instance = 396315705;- Returns:
- Whether the sourceInstance field is set.
-
getSourceInstance
String getSourceInstance()The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - projects/project/zones/zone/instances/instance
optional string source_instance = 396315705;- Returns:
- The sourceInstance.
-
getSourceInstanceBytes
com.google.protobuf.ByteString getSourceInstanceBytes()The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - projects/project/zones/zone/instances/instance
optional string source_instance = 396315705;- Returns:
- The bytes for sourceInstance.
-
hasSourceInstanceParams
boolean hasSourceInstanceParams()The source instance params to use to create this instance template.
optional .google.cloud.compute.v1.SourceInstanceParams source_instance_params = 135342156;- Returns:
- Whether the sourceInstanceParams field is set.
-
getSourceInstanceParams
SourceInstanceParams getSourceInstanceParams()The source instance params to use to create this instance template.
optional .google.cloud.compute.v1.SourceInstanceParams source_instance_params = 135342156;- Returns:
- The sourceInstanceParams.
-
getSourceInstanceParamsOrBuilder
SourceInstanceParamsOrBuilder getSourceInstanceParamsOrBuilder()The source instance params to use to create this instance template.
optional .google.cloud.compute.v1.SourceInstanceParams source_instance_params = 135342156;
-