Class AppGateway.AllocatedConnection.Builder (0.42.0)

public static final class AppGateway.AllocatedConnection.Builder extends GeneratedMessageV3.Builder<AppGateway.AllocatedConnection.Builder> implements AppGateway.AllocatedConnectionOrBuilder

Allocated connection of the AppGateway.

Protobuf type google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppGateway.AllocatedConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

build()

public AppGateway.AllocatedConnection build()
Returns
Type Description
AppGateway.AllocatedConnection

buildPartial()

public AppGateway.AllocatedConnection buildPartial()
Returns
Type Description
AppGateway.AllocatedConnection

clear()

public AppGateway.AllocatedConnection.Builder clear()
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIngressPort()

public AppGateway.AllocatedConnection.Builder clearIngressPort()

Required. The ingress port of an allocated connection

int32 ingress_port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AppGateway.AllocatedConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

clearPscUri()

public AppGateway.AllocatedConnection.Builder clearPscUri()

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

clone()

public AppGateway.AllocatedConnection.Builder clone()
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

getDefaultInstanceForType()

public AppGateway.AllocatedConnection getDefaultInstanceForType()
Returns
Type Description
AppGateway.AllocatedConnection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIngressPort()

public int getIngressPort()

Required. The ingress port of an allocated connection

int32 ingress_port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The ingressPort.

getPscUri()

public String getPscUri()

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pscUri.

getPscUriBytes()

public ByteString getPscUriBytes()

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pscUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppGateway.AllocatedConnection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppGateway.AllocatedConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIngressPort(int value)

public AppGateway.AllocatedConnection.Builder setIngressPort(int value)

Required. The ingress port of an allocated connection

int32 ingress_port = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The ingressPort to set.

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

setPscUri(String value)

public AppGateway.AllocatedConnection.Builder setPscUri(String value)

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The pscUri to set.

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

setPscUriBytes(ByteString value)

public AppGateway.AllocatedConnection.Builder setPscUriBytes(ByteString value)

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for pscUri to set.

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

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

public AppGateway.AllocatedConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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