Send feedback
Class DeployPolicyResourceSelector (1.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.52.0 keyboard_arrow_down
public final class DeployPolicyResourceSelector extends GeneratedMessageV3 implements DeployPolicyResourceSelectorOrBuilder
Contains information on the resources to select for a deploy policy.
Attributes provided must all match the resource in order for policy
restrictions to apply. For example, if delivery pipelines attributes given
are an id "prod" and labels "foo: bar", a delivery pipeline resource must
match both that id and have that label in order to be subject to the policy.
Protobuf type google.cloud.deploy.v1.DeployPolicyResourceSelector
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DELIVERY_PIPELINE_FIELD_NUMBER
public static final int DELIVERY_PIPELINE_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static DeployPolicyResourceSelector getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DeployPolicyResourceSelector . Builder newBuilder ()
newBuilder(DeployPolicyResourceSelector prototype)
public static DeployPolicyResourceSelector . Builder newBuilder ( DeployPolicyResourceSelector prototype )
public static DeployPolicyResourceSelector parseDelimitedFrom ( InputStream input )
public static DeployPolicyResourceSelector parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DeployPolicyResourceSelector parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeployPolicyResourceSelector parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DeployPolicyResourceSelector parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeployPolicyResourceSelector parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DeployPolicyResourceSelector parseFrom ( CodedInputStream input )
public static DeployPolicyResourceSelector parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DeployPolicyResourceSelector parseFrom ( InputStream input )
public static DeployPolicyResourceSelector parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DeployPolicyResourceSelector parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeployPolicyResourceSelector parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DeployPolicyResourceSelector> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public DeployPolicyResourceSelector getDefaultInstanceForType ()
getDeliveryPipeline()
public DeliveryPipelineAttribute getDeliveryPipeline ()
Optional. Contains attributes about a delivery pipeline.
.google.cloud.deploy.v1.DeliveryPipelineAttribute delivery_pipeline = 1 [(.google.api.field_behavior) = OPTIONAL];
getDeliveryPipelineOrBuilder()
public DeliveryPipelineAttributeOrBuilder getDeliveryPipelineOrBuilder ()
Optional. Contains attributes about a delivery pipeline.
.google.cloud.deploy.v1.DeliveryPipelineAttribute delivery_pipeline = 1 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<DeployPolicyResourceSelector> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTarget()
public TargetAttribute getTarget ()
Optional. Contains attributes about a target.
.google.cloud.deploy.v1.TargetAttribute target = 2 [(.google.api.field_behavior) = OPTIONAL];
getTargetOrBuilder()
public TargetAttributeOrBuilder getTargetOrBuilder ()
Optional. Contains attributes about a target.
.google.cloud.deploy.v1.TargetAttribute target = 2 [(.google.api.field_behavior) = OPTIONAL];
hasDeliveryPipeline()
public boolean hasDeliveryPipeline ()
Optional. Contains attributes about a delivery pipeline.
.google.cloud.deploy.v1.DeliveryPipelineAttribute delivery_pipeline = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the deliveryPipeline field is set.
hasTarget()
public boolean hasTarget ()
Optional. Contains attributes about a target.
.google.cloud.deploy.v1.TargetAttribute target = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the target field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DeployPolicyResourceSelector . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeployPolicyResourceSelector . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public DeployPolicyResourceSelector . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]