Class NatIpInfoResponse.Builder (1.43.0)

public static final class NatIpInfoResponse.Builder extends GeneratedMessageV3.Builder<NatIpInfoResponse.Builder> implements NatIpInfoResponseOrBuilder

Protobuf type google.cloud.compute.v1.NatIpInfoResponse

Static Methods

getDescriptor()

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

Methods

addAllResult(Iterable<? extends NatIpInfo> values)

public NatIpInfoResponse.Builder addAllResult(Iterable<? extends NatIpInfo> values)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.NatIpInfo>
Returns
TypeDescription
NatIpInfoResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NatIpInfoResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

addResult(NatIpInfo value)

public NatIpInfoResponse.Builder addResult(NatIpInfo value)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
valueNatIpInfo
Returns
TypeDescription
NatIpInfoResponse.Builder

addResult(NatIpInfo.Builder builderForValue)

public NatIpInfoResponse.Builder addResult(NatIpInfo.Builder builderForValue)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
builderForValueNatIpInfo.Builder
Returns
TypeDescription
NatIpInfoResponse.Builder

addResult(int index, NatIpInfo value)

public NatIpInfoResponse.Builder addResult(int index, NatIpInfo value)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameters
NameDescription
indexint
valueNatIpInfo
Returns
TypeDescription
NatIpInfoResponse.Builder

addResult(int index, NatIpInfo.Builder builderForValue)

public NatIpInfoResponse.Builder addResult(int index, NatIpInfo.Builder builderForValue)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameters
NameDescription
indexint
builderForValueNatIpInfo.Builder
Returns
TypeDescription
NatIpInfoResponse.Builder

addResultBuilder()

public NatIpInfo.Builder addResultBuilder()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
TypeDescription
NatIpInfo.Builder

addResultBuilder(int index)

public NatIpInfo.Builder addResultBuilder(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
indexint
Returns
TypeDescription
NatIpInfo.Builder

build()

public NatIpInfoResponse build()
Returns
TypeDescription
NatIpInfoResponse

buildPartial()

public NatIpInfoResponse buildPartial()
Returns
TypeDescription
NatIpInfoResponse

clear()

public NatIpInfoResponse.Builder clear()
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NatIpInfoResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NatIpInfoResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

clearResult()

public NatIpInfoResponse.Builder clearResult()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
TypeDescription
NatIpInfoResponse.Builder

clone()

public NatIpInfoResponse.Builder clone()
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

getDefaultInstanceForType()

public NatIpInfoResponse getDefaultInstanceForType()
Returns
TypeDescription
NatIpInfoResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult(int index)

public NatIpInfo getResult(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
indexint
Returns
TypeDescription
NatIpInfo

getResultBuilder(int index)

public NatIpInfo.Builder getResultBuilder(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
indexint
Returns
TypeDescription
NatIpInfo.Builder

getResultBuilderList()

public List<NatIpInfo.Builder> getResultBuilderList()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
TypeDescription
List<Builder>

getResultCount()

public int getResultCount()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
TypeDescription
int

getResultList()

public List<NatIpInfo> getResultList()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
TypeDescription
List<NatIpInfo>

getResultOrBuilder(int index)

public NatIpInfoOrBuilder getResultOrBuilder(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
indexint
Returns
TypeDescription
NatIpInfoOrBuilder

getResultOrBuilderList()

public List<? extends NatIpInfoOrBuilder> getResultOrBuilderList()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.NatIpInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NatIpInfoResponse other)

public NatIpInfoResponse.Builder mergeFrom(NatIpInfoResponse other)
Parameter
NameDescription
otherNatIpInfoResponse
Returns
TypeDescription
NatIpInfoResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NatIpInfoResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NatIpInfoResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NatIpInfoResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

removeResult(int index)

public NatIpInfoResponse.Builder removeResult(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
NameDescription
indexint
Returns
TypeDescription
NatIpInfoResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NatIpInfoResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NatIpInfoResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides

setResult(int index, NatIpInfo value)

public NatIpInfoResponse.Builder setResult(int index, NatIpInfo value)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameters
NameDescription
indexint
valueNatIpInfo
Returns
TypeDescription
NatIpInfoResponse.Builder

setResult(int index, NatIpInfo.Builder builderForValue)

public NatIpInfoResponse.Builder setResult(int index, NatIpInfo.Builder builderForValue)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameters
NameDescription
indexint
builderForValueNatIpInfo.Builder
Returns
TypeDescription
NatIpInfoResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NatIpInfoResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NatIpInfoResponse.Builder
Overrides