public final class GlobalVmExtensionPolicy extends GeneratedMessage implements GlobalVmExtensionPolicyOrBuilder
Message describing GlobalVmExtensionPolicy object.
Protobuf type google.cloud.compute.v1.GlobalVmExtensionPolicy
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXTENSION_POLICIES_FIELD_NUMBER
public static final int EXTENSION_POLICIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INSTANCE_SELECTORS_FIELD_NUMBER
public static final int INSTANCE_SELECTORS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ROLLOUT_OPERATION_FIELD_NUMBER
public static final int ROLLOUT_OPERATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCOPED_RESOURCE_STATUS_FIELD_NUMBER
public static final int SCOPED_RESOURCE_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIMESTAMP_FIELD_NUMBER
public static final int UPDATE_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GlobalVmExtensionPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GlobalVmExtensionPolicy.Builder newBuilder()
newBuilder(GlobalVmExtensionPolicy prototype)
public static GlobalVmExtensionPolicy.Builder newBuilder(GlobalVmExtensionPolicy prototype)
public static GlobalVmExtensionPolicy parseDelimitedFrom(InputStream input)
public static GlobalVmExtensionPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GlobalVmExtensionPolicy parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GlobalVmExtensionPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GlobalVmExtensionPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GlobalVmExtensionPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GlobalVmExtensionPolicy parseFrom(CodedInputStream input)
public static GlobalVmExtensionPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GlobalVmExtensionPolicy parseFrom(InputStream input)
public static GlobalVmExtensionPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GlobalVmExtensionPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GlobalVmExtensionPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GlobalVmExtensionPolicy> parser()
Methods
containsExtensionPolicies(String key)
public boolean containsExtensionPolicies(String key)
Required. Map from extension (eg: "cloudops") to its policy configuration.
The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCreationTimestamp()
public String getCreationTimestamp()
Output only. [Output Only] Creation timestamp inRFC3339
text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
String |
The creationTimestamp.
|
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
Output only. [Output Only] Creation timestamp inRFC3339
text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
ByteString |
The bytes for creationTimestamp.
|
getDefaultInstanceForType()
public GlobalVmExtensionPolicy getDefaultInstanceForType()
getDescription()
public String getDescription()
An optional description of this resource. Provide this property when you
create the resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you
create the resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getExtensionPolicies() (deprecated)
public Map<String,GlobalVmExtensionPolicyExtensionPolicy> getExtensionPolicies()
getExtensionPoliciesCount()
public int getExtensionPoliciesCount()
Required. Map from extension (eg: "cloudops") to its policy configuration.
The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Returns |
| Type |
Description |
int |
|
getExtensionPoliciesMap()
public Map<String,GlobalVmExtensionPolicyExtensionPolicy> getExtensionPoliciesMap()
Required. Map from extension (eg: "cloudops") to its policy configuration.
The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
getExtensionPoliciesOrDefault(String key, GlobalVmExtensionPolicyExtensionPolicy defaultValue)
public GlobalVmExtensionPolicyExtensionPolicy getExtensionPoliciesOrDefault(String key, GlobalVmExtensionPolicyExtensionPolicy defaultValue)
Required. Map from extension (eg: "cloudops") to its policy configuration.
The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
getExtensionPoliciesOrThrow(String key)
public GlobalVmExtensionPolicyExtensionPolicy getExtensionPoliciesOrThrow(String key)
Required. Map from extension (eg: "cloudops") to its policy configuration.
The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Parameter |
| Name |
Description |
key |
String
|
getId()
Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.
optional uint64 id = 3355;
| Returns |
| Type |
Description |
long |
The id.
|
getInstanceSelectors(int index)
public GlobalVmExtensionPolicyInstanceSelector getInstanceSelectors(int index)
Optional. Selector to target VMs for a policy.
There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Parameter |
| Name |
Description |
index |
int
|
getInstanceSelectorsCount()
public int getInstanceSelectorsCount()
Optional. Selector to target VMs for a policy.
There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Returns |
| Type |
Description |
int |
|
getInstanceSelectorsList()
public List<GlobalVmExtensionPolicyInstanceSelector> getInstanceSelectorsList()
Optional. Selector to target VMs for a policy.
There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
getInstanceSelectorsOrBuilder(int index)
public GlobalVmExtensionPolicyInstanceSelectorOrBuilder getInstanceSelectorsOrBuilder(int index)
Optional. Selector to target VMs for a policy.
There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Parameter |
| Name |
Description |
index |
int
|
getInstanceSelectorsOrBuilderList()
public List<? extends GlobalVmExtensionPolicyInstanceSelectorOrBuilder> getInstanceSelectorsOrBuilderList()
Optional. Selector to target VMs for a policy.
There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelectorOrBuilder> |
|
getKind()
Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
optional string kind = 3292052;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
optional string kind = 3292052;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
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?
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 |
| Type |
Description |
String |
The name.
|
getNameBytes()
public 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?
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 |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<GlobalVmExtensionPolicy> getParserForType()
Overrides
getPriority()
Optional. Used to resolve conflicts when multiple policies are active for the same
extension. Defaults to 0.
Larger the number, higher the priority. When the priority is the same,
the policy with the newer create time has higher priority.
optional int32 priority = 445151652;
| Returns |
| Type |
Description |
int |
The priority.
|
getRolloutOperation()
public GlobalVmExtensionPolicyRolloutOperation getRolloutOperation()
Required. The rollout strategy and status.
optional .google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperation rollout_operation = 486746201;
getRolloutOperationOrBuilder()
public GlobalVmExtensionPolicyRolloutOperationOrBuilder getRolloutOperationOrBuilder()
Required. The rollout strategy and status.
optional .google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperation rollout_operation = 486746201;
getScopedResourceStatus()
public String getScopedResourceStatus()
Output only. [Output Only] The scoped resource status. It's only for tracking the
purging status of the policy.
Check the ScopedResourceStatus enum for the list of possible values.
optional string scoped_resource_status = 181976980;
| Returns |
| Type |
Description |
String |
The scopedResourceStatus.
|
getScopedResourceStatusBytes()
public ByteString getScopedResourceStatusBytes()
Output only. [Output Only] The scoped resource status. It's only for tracking the
purging status of the policy.
Check the ScopedResourceStatus enum for the list of possible values.
optional string scoped_resource_status = 181976980;
| Returns |
| Type |
Description |
ByteString |
The bytes for scopedResourceStatus.
|
getSelfLink()
public String getSelfLink()
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
String |
The selfLink.
|
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
ByteString |
The bytes for selfLink.
|
getSelfLinkWithId()
public String getSelfLinkWithId()
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns |
| Type |
Description |
String |
The selfLinkWithId.
|
getSelfLinkWithIdBytes()
public ByteString getSelfLinkWithIdBytes()
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns |
| Type |
Description |
ByteString |
The bytes for selfLinkWithId.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getUpdateTimestamp()
public String getUpdateTimestamp()
Output only. [Output Only] Update timestamp inRFC3339
text format.
optional string update_timestamp = 120894752;
| Returns |
| Type |
Description |
String |
The updateTimestamp.
|
getUpdateTimestampBytes()
public ByteString getUpdateTimestampBytes()
Output only. [Output Only] Update timestamp inRFC3339
text format.
optional string update_timestamp = 120894752;
| Returns |
| Type |
Description |
ByteString |
The bytes for updateTimestamp.
|
hasCreationTimestamp()
public boolean hasCreationTimestamp()
Output only. [Output Only] Creation timestamp inRFC3339
text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
boolean |
Whether the creationTimestamp field is set.
|
hasDescription()
public boolean hasDescription()
An optional description of this resource. Provide this property when you
create the resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
boolean |
Whether the description field is set.
|
hasId()
Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.
optional uint64 id = 3355;
| Returns |
| Type |
Description |
boolean |
Whether the id field is set.
|
hasKind()
Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
optional string kind = 3292052;
| Returns |
| Type |
Description |
boolean |
Whether the kind field is set.
|
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?
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 |
| Type |
Description |
boolean |
Whether the name field is set.
|
hasPriority()
public boolean hasPriority()
Optional. Used to resolve conflicts when multiple policies are active for the same
extension. Defaults to 0.
Larger the number, higher the priority. When the priority is the same,
the policy with the newer create time has higher priority.
optional int32 priority = 445151652;
| Returns |
| Type |
Description |
boolean |
Whether the priority field is set.
|
hasRolloutOperation()
public boolean hasRolloutOperation()
Required. The rollout strategy and status.
optional .google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperation rollout_operation = 486746201;
| Returns |
| Type |
Description |
boolean |
Whether the rolloutOperation field is set.
|
hasScopedResourceStatus()
public boolean hasScopedResourceStatus()
Output only. [Output Only] The scoped resource status. It's only for tracking the
purging status of the policy.
Check the ScopedResourceStatus enum for the list of possible values.
optional string scoped_resource_status = 181976980;
| Returns |
| Type |
Description |
boolean |
Whether the scopedResourceStatus field is set.
|
hasSelfLink()
public boolean hasSelfLink()
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
boolean |
Whether the selfLink field is set.
|
hasSelfLinkWithId()
public boolean hasSelfLinkWithId()
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns |
| Type |
Description |
boolean |
Whether the selfLinkWithId field is set.
|
hasUpdateTimestamp()
public boolean hasUpdateTimestamp()
Output only. [Output Only] Update timestamp inRFC3339
text format.
optional string update_timestamp = 120894752;
| Returns |
| Type |
Description |
boolean |
Whether the updateTimestamp field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GlobalVmExtensionPolicy.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GlobalVmExtensionPolicy.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public GlobalVmExtensionPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides