Class NatIpInfoResponse.Builder (1.57.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.NatIpInfo>
Returns
Type Description
NatIpInfoResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NatIpInfoResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value NatIpInfo
Returns
Type Description
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
Name Description
builderForValue NatIpInfo.Builder
Returns
Type Description
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
Name Description
index int
value NatIpInfo
Returns
Type Description
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
Name Description
index int
builderForValue NatIpInfo.Builder
Returns
Type Description
NatIpInfoResponse.Builder

addResultBuilder()

public NatIpInfo.Builder addResultBuilder()

[Output Only] A list of NAT IP information.

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

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

build()

public NatIpInfoResponse build()
Returns
Type Description
NatIpInfoResponse

buildPartial()

public NatIpInfoResponse buildPartial()
Returns
Type Description
NatIpInfoResponse

clear()

public NatIpInfoResponse.Builder clear()
Returns
Type Description
NatIpInfoResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NatIpInfoResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NatIpInfoResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NatIpInfoResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
NatIpInfoResponse.Builder

clone()

public NatIpInfoResponse.Builder clone()
Returns
Type Description
NatIpInfoResponse.Builder
Overrides

getDefaultInstanceForType()

public NatIpInfoResponse getDefaultInstanceForType()
Returns
Type Description
NatIpInfoResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getResultCount()

public int getResultCount()

[Output Only] A list of NAT IP information.

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

Returns
Type Description
int

getResultList()

public List<NatIpInfo> getResultList()

[Output Only] A list of NAT IP information.

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

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

getResultOrBuilderList()

public List<? extends NatIpInfoOrBuilder> getResultOrBuilderList()

[Output Only] A list of NAT IP information.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NatIpInfoResponse other)

public NatIpInfoResponse.Builder mergeFrom(NatIpInfoResponse other)
Parameter
Name Description
other NatIpInfoResponse
Returns
Type Description
NatIpInfoResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NatIpInfoResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NatIpInfoResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NatIpInfoResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NatIpInfoResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
NatIpInfoResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NatIpInfoResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NatIpInfoResponse.Builder
Overrides

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

public NatIpInfoResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value NatIpInfo
Returns
Type Description
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
Name Description
index int
builderForValue NatIpInfo.Builder
Returns
Type Description
NatIpInfoResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NatIpInfoResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NatIpInfoResponse.Builder
Overrides