Class MultiTarget (1.50.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
Type Description
int

Static Methods

getDefaultInstance()

public static MultiTarget getDefaultInstance()
Returns
Type Description
MultiTarget

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MultiTarget.Builder newBuilder()
Returns
Type Description
MultiTarget.Builder

newBuilder(MultiTarget prototype)

public static MultiTarget.Builder newBuilder(MultiTarget prototype)
Parameter
Name Description
prototype MultiTarget
Returns
Type Description
MultiTarget.Builder

parseDelimitedFrom(InputStream input)

public static MultiTarget parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MultiTarget
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiTarget
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MultiTarget parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MultiTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MultiTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MultiTarget parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MultiTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MultiTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MultiTarget parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MultiTarget
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiTarget
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MultiTarget parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MultiTarget
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiTarget
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MultiTarget parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MultiTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MultiTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiTarget
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MultiTarget> parser()
Returns
Type Description
Parser<MultiTarget>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MultiTarget getDefaultInstanceForType()
Returns
Type Description
MultiTarget

getParserForType()

public Parser<MultiTarget> getParserForType()
Returns
Type Description
Parser<MultiTarget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the targetIds.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MultiTarget.Builder newBuilderForType()
Returns
Type Description
MultiTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MultiTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MultiTarget.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MultiTarget.Builder toBuilder()
Returns
Type Description
MultiTarget.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException