public static final class AppConnection.Gateway.Builder extends GeneratedMessageV3.Builder<AppConnection.Gateway.Builder> implements AppConnection.GatewayOrBuilderGateway represents a user facing component that serves as an entrance to enable connectivity.
Protobuf type google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppConnection.Gateway.BuilderImplements
AppConnection.GatewayOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppConnection.Gateway.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
build()
public AppConnection.Gateway build()| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway |
|
buildPartial()
public AppConnection.Gateway buildPartial()| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway |
|
clear()
public AppConnection.Gateway.Builder clear()| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
clearAppGateway()
public AppConnection.Gateway.Builder clearAppGateway() Required. AppGateway name in following format:
projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
string app_gateway = 5;
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AppConnection.Gateway.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
clearIngressPort()
public AppConnection.Gateway.Builder clearIngressPort()Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
int32 ingress_port = 4;
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
clearL7Psc()
public AppConnection.Gateway.Builder clearL7Psc()Output only. L7 private service connection for this resource.
string l7psc = 6;
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AppConnection.Gateway.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
clearType()
public AppConnection.Gateway.Builder clearType()Required. The type of hosting used by the gateway.
.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
clearUri()
public AppConnection.Gateway.Builder clearUri()Output only. Server-defined URI for this resource.
string uri = 3;
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
clone()
public AppConnection.Gateway.Builder clone()| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
getAppGateway()
public String getAppGateway() Required. AppGateway name in following format:
projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
string app_gateway = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The appGateway. |
getAppGatewayBytes()
public ByteString getAppGatewayBytes() Required. AppGateway name in following format:
projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
string app_gateway = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appGateway. |
getDefaultInstanceForType()
public AppConnection.Gateway getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIngressPort()
public int getIngressPort()Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
int32 ingress_port = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The ingressPort. |
getL7Psc()
public String getL7Psc()Output only. L7 private service connection for this resource.
string l7psc = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The l7psc. |
getL7PscBytes()
public ByteString getL7PscBytes()Output only. L7 private service connection for this resource.
string l7psc = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for l7psc. |
getType()
public AppConnection.Gateway.Type getType()Required. The type of hosting used by the gateway.
.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Type |
The type. |
getTypeValue()
public int getTypeValue()Required. The type of hosting used by the gateway.
.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUri()
public String getUri()Output only. Server-defined URI for this resource.
string uri = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Output only. Server-defined URI for this resource.
string uri = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AppConnection.Gateway other)
public AppConnection.Gateway.Builder mergeFrom(AppConnection.Gateway other)| Parameter | |
|---|---|
| Name | Description |
other |
AppConnection.Gateway |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppConnection.Gateway.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AppConnection.Gateway.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppConnection.Gateway.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
setAppGateway(String value)
public AppConnection.Gateway.Builder setAppGateway(String value) Required. AppGateway name in following format:
projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
string app_gateway = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appGateway to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setAppGatewayBytes(ByteString value)
public AppConnection.Gateway.Builder setAppGatewayBytes(ByteString value) Required. AppGateway name in following format:
projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
string app_gateway = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appGateway to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AppConnection.Gateway.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
setIngressPort(int value)
public AppConnection.Gateway.Builder setIngressPort(int value)Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
int32 ingress_port = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe ingressPort to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setL7Psc(String value)
public AppConnection.Gateway.Builder setL7Psc(String value)Output only. L7 private service connection for this resource.
string l7psc = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe l7psc to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setL7PscBytes(ByteString value)
public AppConnection.Gateway.Builder setL7PscBytes(ByteString value)Output only. L7 private service connection for this resource.
string l7psc = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for l7psc to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppConnection.Gateway.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
setType(AppConnection.Gateway.Type value)
public AppConnection.Gateway.Builder setType(AppConnection.Gateway.Type value)Required. The type of hosting used by the gateway.
.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AppConnection.Gateway.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setTypeValue(int value)
public AppConnection.Gateway.Builder setTypeValue(int value)Required. The type of hosting used by the gateway.
.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AppConnection.Gateway.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
|
setUri(String value)
public AppConnection.Gateway.Builder setUri(String value)Output only. Server-defined URI for this resource.
string uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public AppConnection.Gateway.Builder setUriBytes(ByteString value)Output only. Server-defined URI for this resource.
string uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
AppConnection.Gateway.Builder |
This builder for chaining. |