Class AppGateway.AllocatedConnection.Builder (0.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppGateway.AllocatedConnection build()
Returns
TypeDescription
AppGateway.AllocatedConnection

buildPartial()

public AppGateway.AllocatedConnection buildPartial()
Returns
TypeDescription
AppGateway.AllocatedConnection

clear()

public AppGateway.AllocatedConnection.Builder clear()
Returns
TypeDescription
AppGateway.AllocatedConnection.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AppGateway.AllocatedConnection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AppGateway.AllocatedConnection.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AppGateway.AllocatedConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AppGateway.AllocatedConnection.Builder

This builder for chaining.

clone()

public AppGateway.AllocatedConnection.Builder clone()
Returns
TypeDescription
AppGateway.AllocatedConnection.Builder
Overrides

getDefaultInstanceForType()

public AppGateway.AllocatedConnection getDefaultInstanceForType()
Returns
TypeDescription
AppGateway.AllocatedConnection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIngressPort()

public int getIngressPort()

Required. The ingress port of an allocated connection

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pscUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppGateway.AllocatedConnection other)

public AppGateway.AllocatedConnection.Builder mergeFrom(AppGateway.AllocatedConnection other)
Parameter
NameDescription
otherAppGateway.AllocatedConnection
Returns
TypeDescription
AppGateway.AllocatedConnection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AppGateway.AllocatedConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The ingressPort to set.

Returns
TypeDescription
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
NameDescription
valueString

The pscUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pscUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AppGateway.AllocatedConnection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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