Class VpnGatewaysGetStatusResponse.Builder (1.11.0)

public static final class VpnGatewaysGetStatusResponse.Builder extends GeneratedMessageV3.Builder<VpnGatewaysGetStatusResponse.Builder> implements VpnGatewaysGetStatusResponseOrBuilder

Protobuf type google.cloud.compute.v1.VpnGatewaysGetStatusResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VpnGatewaysGetStatusResponse build()
Returns
TypeDescription
VpnGatewaysGetStatusResponse

buildPartial()

public VpnGatewaysGetStatusResponse buildPartial()
Returns
TypeDescription
VpnGatewaysGetStatusResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public VpnGatewaysGetStatusResponse.Builder clearResult()

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Returns
TypeDescription
VpnGatewaysGetStatusResponse.Builder

clone()

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

getDefaultInstanceForType()

public VpnGatewaysGetStatusResponse getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewaysGetStatusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public VpnGatewayStatus getResult()

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Returns
TypeDescription
VpnGatewayStatus

The result.

getResultBuilder()

public VpnGatewayStatus.Builder getResultBuilder()

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Returns
TypeDescription
VpnGatewayStatus.Builder

getResultOrBuilder()

public VpnGatewayStatusOrBuilder getResultOrBuilder()

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Returns
TypeDescription
VpnGatewayStatusOrBuilder

hasResult()

public boolean hasResult()

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpnGatewaysGetStatusResponse other)

public VpnGatewaysGetStatusResponse.Builder mergeFrom(VpnGatewaysGetStatusResponse other)
Parameter
NameDescription
otherVpnGatewaysGetStatusResponse
Returns
TypeDescription
VpnGatewaysGetStatusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(VpnGatewayStatus value)

public VpnGatewaysGetStatusResponse.Builder mergeResult(VpnGatewayStatus value)

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Parameter
NameDescription
valueVpnGatewayStatus
Returns
TypeDescription
VpnGatewaysGetStatusResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(VpnGatewayStatus value)

public VpnGatewaysGetStatusResponse.Builder setResult(VpnGatewayStatus value)

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Parameter
NameDescription
valueVpnGatewayStatus
Returns
TypeDescription
VpnGatewaysGetStatusResponse.Builder

setResult(VpnGatewayStatus.Builder builderForValue)

public VpnGatewaysGetStatusResponse.Builder setResult(VpnGatewayStatus.Builder builderForValue)

optional .google.cloud.compute.v1.VpnGatewayStatus result = 139315229;

Parameter
NameDescription
builderForValueVpnGatewayStatus.Builder
Returns
TypeDescription
VpnGatewaysGetStatusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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