Interface VmExtensionPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
VmExtensionPolicy, VmExtensionPolicy.Builder

@Generated public interface VmExtensionPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCreationTimestamp

      boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The bytes for creationTimestamp.
    • hasDescription

      boolean hasDescription()
       An optional description of this resource.
       
      optional string description = 422937596;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       An optional description of this resource.
       
      optional string description = 422937596;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource.
       
      optional string description = 422937596;
      Returns:
      The bytes for description.
    • getExtensionPoliciesCount

      int getExtensionPoliciesCount()
       Required. A map of extension names (for example, "ops-agent") to their corresponding
       policy configurations.
       
      map<string, .google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
    • containsExtensionPolicies

      boolean containsExtensionPolicies(String key)
       Required. A map of extension names (for example, "ops-agent") to their corresponding
       policy configurations.
       
      map<string, .google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
    • getExtensionPolicies

      Deprecated.
    • getExtensionPoliciesMap

      Map<String,VmExtensionPolicyExtensionPolicy> getExtensionPoliciesMap()
       Required. A map of extension names (for example, "ops-agent") to their corresponding
       policy configurations.
       
      map<string, .google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
    • getExtensionPoliciesOrDefault

      VmExtensionPolicyExtensionPolicy getExtensionPoliciesOrDefault(String key, VmExtensionPolicyExtensionPolicy defaultValue)
       Required. A map of extension names (for example, "ops-agent") to their corresponding
       policy configurations.
       
      map<string, .google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
    • getExtensionPoliciesOrThrow

      VmExtensionPolicyExtensionPolicy getExtensionPoliciesOrThrow(String key)
       Required. A map of extension names (for example, "ops-agent") to their corresponding
       policy configurations.
       
      map<string, .google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
    • hasGlobalResourceLink

      boolean hasGlobalResourceLink()
       Optional. Output only. [Output Only] Link to the global policy that manages this zone policy, if
       applicable.
       
      optional string global_resource_link = 516569583;
      Returns:
      Whether the globalResourceLink field is set.
    • getGlobalResourceLink

      String getGlobalResourceLink()
       Optional. Output only. [Output Only] Link to the global policy that manages this zone policy, if
       applicable.
       
      optional string global_resource_link = 516569583;
      Returns:
      The globalResourceLink.
    • getGlobalResourceLinkBytes

      com.google.protobuf.ByteString getGlobalResourceLinkBytes()
       Optional. Output only. [Output Only] Link to the global policy that manages this zone policy, if
       applicable.
       
      optional string global_resource_link = 516569583;
      Returns:
      The bytes for globalResourceLink.
    • hasId

      boolean hasId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      The id.
    • getInstanceSelectorsList

      List<VmExtensionPolicyInstanceSelector> getInstanceSelectorsList()
       Optional. Selectors to target VMs for this policy. VMs are selected if they match
       *any* of the provided selectors (logical OR). If this list is empty, the
       policy applies to all VMs.
       
      repeated .google.cloud.compute.v1.VmExtensionPolicyInstanceSelector instance_selectors = 520298826;
    • getInstanceSelectors

      VmExtensionPolicyInstanceSelector getInstanceSelectors(int index)
       Optional. Selectors to target VMs for this policy. VMs are selected if they match
       *any* of the provided selectors (logical OR). If this list is empty, the
       policy applies to all VMs.
       
      repeated .google.cloud.compute.v1.VmExtensionPolicyInstanceSelector instance_selectors = 520298826;
    • getInstanceSelectorsCount

      int getInstanceSelectorsCount()
       Optional. Selectors to target VMs for this policy. VMs are selected if they match
       *any* of the provided selectors (logical OR). If this list is empty, the
       policy applies to all VMs.
       
      repeated .google.cloud.compute.v1.VmExtensionPolicyInstanceSelector instance_selectors = 520298826;
    • getInstanceSelectorsOrBuilderList

      List<? extends VmExtensionPolicyInstanceSelectorOrBuilder> getInstanceSelectorsOrBuilderList()
       Optional. Selectors to target VMs for this policy. VMs are selected if they match
       *any* of the provided selectors (logical OR). If this list is empty, the
       policy applies to all VMs.
       
      repeated .google.cloud.compute.v1.VmExtensionPolicyInstanceSelector instance_selectors = 520298826;
    • getInstanceSelectorsOrBuilder

      VmExtensionPolicyInstanceSelectorOrBuilder getInstanceSelectorsOrBuilder(int index)
       Optional. Selectors to target VMs for this policy. VMs are selected if they match
       *any* of the provided selectors (logical OR). If this list is empty, the
       policy applies to all VMs.
       
      repeated .google.cloud.compute.v1.VmExtensionPolicyInstanceSelector instance_selectors = 520298826;
    • hasKind

      boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#vmExtensionPolicy.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#vmExtensionPolicy.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#vmExtensionPolicy.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.
    • hasManagedByGlobal

      boolean hasManagedByGlobal()
       Optional. Output only. [Output Only] Indicates if this policy is managed by a global policy.
       
      optional bool managed_by_global = 88605675;
      Returns:
      Whether the managedByGlobal field is set.
    • getManagedByGlobal

      boolean getManagedByGlobal()
       Optional. Output only. [Output Only] Indicates if this policy is managed by a global policy.
       
      optional bool managed_by_global = 88605675;
      Returns:
      The managedByGlobal.
    • 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.
    • hasPriority

      boolean hasPriority()
       Optional. Priority of this policy. Used to resolve conflicts when multiple policies
       apply to the same extension.
       The policy priority is an integer from 0 to 65535, inclusive. Lower
       integers indicate higher priorities. If you do not specify a priority when
       creating a rule, it is assigned a priority of 1000. If priorities are
       equal, the policy with the most recent creation timestamp takes precedence.
       
      optional int32 priority = 445151652;
      Returns:
      Whether the priority field is set.
    • getPriority

      int getPriority()
       Optional. Priority of this policy. Used to resolve conflicts when multiple policies
       apply to the same extension.
       The policy priority is an integer from 0 to 65535, inclusive. Lower
       integers indicate higher priorities. If you do not specify a priority when
       creating a rule, it is assigned a priority of 1000. If priorities are
       equal, the policy with the most recent creation timestamp takes precedence.
       
      optional int32 priority = 445151652;
      Returns:
      The priority.
    • hasSelfLink

      boolean hasSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      String getSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Returns:
      The selfLink.
    • getSelfLinkBytes

      com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Returns:
      The bytes for selfLink.
    • hasSelfLinkWithId

      boolean hasSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

      String getSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Returns:
      The selfLinkWithId.
    • getSelfLinkWithIdBytes

      com.google.protobuf.ByteString getSelfLinkWithIdBytes()
       Output only. [Output Only] Server-defined URL for this resource's resource id.
       
      optional string self_link_with_id = 44520962;
      Returns:
      The bytes for selfLinkWithId.
    • hasState

      boolean hasState()
       Optional. Output only. [Output Only] Current state of the policy: ACTIVE or DELETING.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      Whether the state field is set.
    • getState

      String getState()
       Optional. Output only. [Output Only] Current state of the policy: ACTIVE or DELETING.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      The state.
    • getStateBytes

      com.google.protobuf.ByteString getStateBytes()
       Optional. Output only. [Output Only] Current state of the policy: ACTIVE or DELETING.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      The bytes for state.
    • hasUpdateTimestamp

      boolean hasUpdateTimestamp()
       Output only. [Output Only] Update timestamp inRFC3339
       text format.
       
      optional string update_timestamp = 120894752;
      Returns:
      Whether the updateTimestamp field is set.
    • getUpdateTimestamp

      String getUpdateTimestamp()
       Output only. [Output Only] Update timestamp inRFC3339
       text format.
       
      optional string update_timestamp = 120894752;
      Returns:
      The updateTimestamp.
    • getUpdateTimestampBytes

      com.google.protobuf.ByteString getUpdateTimestampBytes()
       Output only. [Output Only] Update timestamp inRFC3339
       text format.
       
      optional string update_timestamp = 120894752;
      Returns:
      The bytes for updateTimestamp.