Class AutomationResourceSelector (1.39.0)

public final class AutomationResourceSelector extends GeneratedMessageV3 implements AutomationResourceSelectorOrBuilder

AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.

Protobuf type google.cloud.deploy.v1.AutomationResourceSelector

Static Fields

TARGETS_FIELD_NUMBER

public static final int TARGETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutomationResourceSelector getDefaultInstance()
Returns
TypeDescription
AutomationResourceSelector

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AutomationResourceSelector.Builder newBuilder()
Returns
TypeDescription
AutomationResourceSelector.Builder

newBuilder(AutomationResourceSelector prototype)

public static AutomationResourceSelector.Builder newBuilder(AutomationResourceSelector prototype)
Parameter
NameDescription
prototypeAutomationResourceSelector
Returns
TypeDescription
AutomationResourceSelector.Builder

parseDelimitedFrom(InputStream input)

public static AutomationResourceSelector parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomationResourceSelector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutomationResourceSelector parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutomationResourceSelector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutomationResourceSelector parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutomationResourceSelector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutomationResourceSelector parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomationResourceSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutomationResourceSelector parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomationResourceSelector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutomationResourceSelector parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutomationResourceSelector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationResourceSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutomationResourceSelector> parser()
Returns
TypeDescription
Parser<AutomationResourceSelector>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AutomationResourceSelector getDefaultInstanceForType()
Returns
TypeDescription
AutomationResourceSelector

getParserForType()

public Parser<AutomationResourceSelector> getParserForType()
Returns
TypeDescription
Parser<AutomationResourceSelector>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargets(int index)

public TargetAttribute getTargets(int index)

Contains attributes about a target.

repeated .google.cloud.deploy.v1.TargetAttribute targets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetAttribute

getTargetsCount()

public int getTargetsCount()

Contains attributes about a target.

repeated .google.cloud.deploy.v1.TargetAttribute targets = 1;

Returns
TypeDescription
int

getTargetsList()

public List<TargetAttribute> getTargetsList()

Contains attributes about a target.

repeated .google.cloud.deploy.v1.TargetAttribute targets = 1;

Returns
TypeDescription
List<TargetAttribute>

getTargetsOrBuilder(int index)

public TargetAttributeOrBuilder getTargetsOrBuilder(int index)

Contains attributes about a target.

repeated .google.cloud.deploy.v1.TargetAttribute targets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetAttributeOrBuilder

getTargetsOrBuilderList()

public List<? extends TargetAttributeOrBuilder> getTargetsOrBuilderList()

Contains attributes about a target.

repeated .google.cloud.deploy.v1.TargetAttribute targets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.TargetAttributeOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutomationResourceSelector.Builder newBuilderForType()
Returns
TypeDescription
AutomationResourceSelector.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutomationResourceSelector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutomationResourceSelector.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutomationResourceSelector.Builder toBuilder()
Returns
TypeDescription
AutomationResourceSelector.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException