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
public interface InstanceTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCreationTimestamp()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.long
getId()
[Output Only] A unique identifier for this instance template.String
getKind()
[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.com.google.protobuf.ByteString
getKindBytes()
[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.String
getName()
Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteString
getNameBytes()
Name of the resource; provided by the client when the resource is created.InstanceProperties
getProperties()
The instance properties for this instance template.InstancePropertiesOrBuilder
getPropertiesOrBuilder()
The instance properties for this instance template.String
getRegion()
[Output Only] URL of the region where the instance template resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URL of the region where the instance template resides.String
getSelfLink()
[Output Only] The URL for this instance template.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] The URL for this instance template.String
getSourceInstance()
The source instance used to create the template.com.google.protobuf.ByteString
getSourceInstanceBytes()
The source instance used to create the template.SourceInstanceParams
getSourceInstanceParams()
The source instance params to use to create this instance template.SourceInstanceParamsOrBuilder
getSourceInstanceParamsOrBuilder()
The source instance params to use to create this instance template.boolean
hasCreationTimestamp()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasId()
[Output Only] A unique identifier for this instance template.boolean
hasKind()
[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.boolean
hasName()
Name of the resource; provided by the client when the resource is created.boolean
hasProperties()
The instance properties for this instance template.boolean
hasRegion()
[Output Only] URL of the region where the instance template resides.boolean
hasSelfLink()
[Output Only] The URL for this instance template.boolean
hasSourceInstance()
The source instance used to create the template.boolean
hasSourceInstanceParams()
The source instance params to use to create this instance template.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] The creation timestamp for this instance template in RFC3339 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] 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] A unique identifier for this instance template. The server defines this identifier.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] The resource type, which is always compute#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 with RFC1035. 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 with RFC1035. 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 with RFC1035. 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] 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] 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] 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] 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] 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] 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;
-
-