public final class TargetPoolsAddInstanceRequest extends GeneratedMessageV3 implements TargetPoolsAddInstanceRequestOrBuilder
Protobuf type google.cloud.compute.v1.TargetPoolsAddInstanceRequest
Fields
INSTANCES_FIELD_NUMBER
public static final int INSTANCES_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static TargetPoolsAddInstanceRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public TargetPoolsAddInstanceRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getInstances(int index)
public InstanceReference getInstances(int index)
A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
getInstancesCount()
public int getInstancesCount()
A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
getInstancesList()
public List<InstanceReference> getInstancesList()
A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
getInstancesOrBuilder(int index)
public InstanceReferenceOrBuilder getInstancesOrBuilder(int index)
A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
getInstancesOrBuilderList()
public List<? extends InstanceReferenceOrBuilder> getInstancesOrBuilderList()
A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder> | |
getParserForType()
public Parser<TargetPoolsAddInstanceRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static TargetPoolsAddInstanceRequest.Builder newBuilder()
Returns
newBuilder(TargetPoolsAddInstanceRequest prototype)
public static TargetPoolsAddInstanceRequest.Builder newBuilder(TargetPoolsAddInstanceRequest prototype)
Parameter
Returns
newBuilderForType()
public TargetPoolsAddInstanceRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TargetPoolsAddInstanceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static TargetPoolsAddInstanceRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetPoolsAddInstanceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TargetPoolsAddInstanceRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TargetPoolsAddInstanceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TargetPoolsAddInstanceRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TargetPoolsAddInstanceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetPoolsAddInstanceRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TargetPoolsAddInstanceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetPoolsAddInstanceRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetPoolsAddInstanceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TargetPoolsAddInstanceRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TargetPoolsAddInstanceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TargetPoolsAddInstanceRequest> parser()
Returns
toBuilder()
public TargetPoolsAddInstanceRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions