Class MultiTarget (1.20.0)

public final class MultiTarget extends GeneratedMessageV3 implements MultiTargetOrBuilder

Information specifying a multiTarget.

Protobuf type google.cloud.deploy.v1.MultiTarget

Static Fields

TARGET_IDS_FIELD_NUMBER

public static final int TARGET_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MultiTarget getDefaultInstance()
Returns
TypeDescription
MultiTarget

getDescriptor()

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

newBuilder()

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

newBuilder(MultiTarget prototype)

public static MultiTarget.Builder newBuilder(MultiTarget prototype)
Parameter
NameDescription
prototypeMultiTarget
Returns
TypeDescription
MultiTarget.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MultiTarget getDefaultInstanceForType()
Returns
TypeDescription
MultiTarget

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetIds(int index)

public String getTargetIds(int index)

Required. The target_ids of this multiTarget.

repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The targetIds at the given index.

getTargetIdsBytes(int index)

public ByteString getTargetIdsBytes(int index)

Required. The target_ids of this multiTarget.

repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the targetIds at the given index.

getTargetIdsCount()

public int getTargetIdsCount()

Required. The target_ids of this multiTarget.

repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of targetIds.

getTargetIdsList()

public ProtocolStringList getTargetIdsList()

Required. The target_ids of this multiTarget.

repeated string target_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the targetIds.

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 MultiTarget.Builder newBuilderForType()
Returns
TypeDescription
MultiTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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