Class EgressRequest.Builder (2.43.0)

public static final class EgressRequest.Builder extends GeneratedMessageV3.Builder<EgressRequest.Builder> implements EgressRequestOrBuilder

gRPC request payload for tether.

Protobuf type google.cloud.apigeeconnect.v1.EgressRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EgressRequest build()
Returns
Type Description
EgressRequest

buildPartial()

public EgressRequest buildPartial()
Returns
Type Description
EgressRequest

clear()

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

clearEndpoint()

public EgressRequest.Builder clearEndpoint()

Tether Endpoint.

.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public EgressRequest.Builder clearId()

Unique identifier for the request.

string id = 1;

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public EgressRequest.Builder clearPayload()

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Returns
Type Description
EgressRequest.Builder

clearProject()

public EgressRequest.Builder clearProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

clearTimeout()

public EgressRequest.Builder clearTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
EgressRequest.Builder

clearTraceId()

public EgressRequest.Builder clearTraceId()

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EgressRequest getDefaultInstanceForType()
Returns
Type Description
EgressRequest

getDescriptorForType()

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

getEndpoint()

public TetherEndpoint getEndpoint()

Tether Endpoint.

.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;

Returns
Type Description
TetherEndpoint

The endpoint.

getEndpointValue()

public int getEndpointValue()

Tether Endpoint.

.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;

Returns
Type Description
int

The enum numeric value on the wire for endpoint.

getId()

public String getId()

Unique identifier for the request.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique identifier for the request.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getPayload()

public Payload getPayload()

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Returns
Type Description
Payload

The payload.

getPayloadBuilder()

public Payload.Builder getPayloadBuilder()

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Returns
Type Description
Payload.Builder

getPayloadOrBuilder()

public PayloadOrBuilder getPayloadOrBuilder()

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Returns
Type Description
PayloadOrBuilder

getProject()

public String getProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
Type Description
ByteString

The bytes for project.

getTimeout()

public Duration getTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
Duration

The timeout.

getTimeoutBuilder()

public Duration.Builder getTimeoutBuilder()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
Builder

getTimeoutOrBuilder()

public DurationOrBuilder getTimeoutOrBuilder()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
DurationOrBuilder

getTraceId()

public String getTraceId()

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Returns
Type Description
String

The traceId.

getTraceIdBytes()

public ByteString getTraceIdBytes()

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Returns
Type Description
ByteString

The bytes for traceId.

hasPayload()

public boolean hasPayload()

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Returns
Type Description
boolean

Whether the payload field is set.

hasTimeout()

public boolean hasTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
boolean

Whether the timeout field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EgressRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Payload value)

public EgressRequest.Builder mergePayload(Payload value)

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Parameter
Name Description
value Payload
Returns
Type Description
EgressRequest.Builder

mergeTimeout(Duration value)

public EgressRequest.Builder mergeTimeout(Duration value)

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Parameter
Name Description
value Duration
Returns
Type Description
EgressRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndpoint(TetherEndpoint value)

public EgressRequest.Builder setEndpoint(TetherEndpoint value)

Tether Endpoint.

.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;

Parameter
Name Description
value TetherEndpoint

The endpoint to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setEndpointValue(int value)

public EgressRequest.Builder setEndpointValue(int value)

Tether Endpoint.

.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for endpoint to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public EgressRequest.Builder setId(String value)

Unique identifier for the request.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setIdBytes(ByteString value)

public EgressRequest.Builder setIdBytes(ByteString value)

Unique identifier for the request.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setPayload(Payload value)

public EgressRequest.Builder setPayload(Payload value)

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Parameter
Name Description
value Payload
Returns
Type Description
EgressRequest.Builder

setPayload(Payload.Builder builderForValue)

public EgressRequest.Builder setPayload(Payload.Builder builderForValue)

Actual payload to send to agent.

.google.cloud.apigeeconnect.v1.Payload payload = 2;

Parameter
Name Description
builderForValue Payload.Builder
Returns
Type Description
EgressRequest.Builder

setProject(String value)

public EgressRequest.Builder setProject(String value)

GCP Project. Format: projects/{project_number}.

string project = 4;

Parameter
Name Description
value String

The project to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public EgressRequest.Builder setProjectBytes(ByteString value)

GCP Project. Format: projects/{project_number}.

string project = 4;

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

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

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

setTimeout(Duration value)

public EgressRequest.Builder setTimeout(Duration value)

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Parameter
Name Description
value Duration
Returns
Type Description
EgressRequest.Builder

setTimeout(Duration.Builder builderForValue)

public EgressRequest.Builder setTimeout(Duration.Builder builderForValue)

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EgressRequest.Builder

setTraceId(String value)

public EgressRequest.Builder setTraceId(String value)

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Parameter
Name Description
value String

The traceId to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setTraceIdBytes(ByteString value)

public EgressRequest.Builder setTraceIdBytes(ByteString value)

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Parameter
Name Description
value ByteString

The bytes for traceId to set.

Returns
Type Description
EgressRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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