Class EgressRequest.Builder (2.2.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EgressRequest build()
Returns
TypeDescription
EgressRequest

buildPartial()

public EgressRequest buildPartial()
Returns
TypeDescription
EgressRequest

clear()

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

clearEndpoint()

public EgressRequest.Builder clearEndpoint()

Tether Endpoint.

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

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public EgressRequest.Builder clearId()

Unique identifier for the request.

string id = 1;

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public EgressRequest.Builder clearPayload()

Actual payload to send to agent.

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

Returns
TypeDescription
EgressRequest.Builder

clearProject()

public EgressRequest.Builder clearProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

clearTimeout()

public EgressRequest.Builder clearTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
EgressRequest.Builder

clearTraceId()

public EgressRequest.Builder clearTraceId()

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EgressRequest getDefaultInstanceForType()
Returns
TypeDescription
EgressRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpoint()

public TetherEndpoint getEndpoint()

Tether Endpoint.

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

Returns
TypeDescription
TetherEndpoint

The endpoint.

getEndpointValue()

public int getEndpointValue()

Tether Endpoint.

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

Returns
TypeDescription
int

The enum numeric value on the wire for endpoint.

getId()

public String getId()

Unique identifier for the request.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique identifier for the request.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getPayload()

public Payload getPayload()

Actual payload to send to agent.

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

Returns
TypeDescription
Payload

The payload.

getPayloadBuilder()

public Payload.Builder getPayloadBuilder()

Actual payload to send to agent.

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

Returns
TypeDescription
Payload.Builder

getPayloadOrBuilder()

public PayloadOrBuilder getPayloadOrBuilder()

Actual payload to send to agent.

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

Returns
TypeDescription
PayloadOrBuilder

getProject()

public String getProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
TypeDescription
ByteString

The bytes for project.

getTimeout()

public Duration getTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
Duration

The timeout.

getTimeoutBuilder()

public Duration.Builder getTimeoutBuilder()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
Builder

getTimeoutOrBuilder()

public DurationOrBuilder getTimeoutOrBuilder()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
DurationOrBuilder

getTraceId()

public String getTraceId()

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Returns
TypeDescription
String

The traceId.

getTraceIdBytes()

public ByteString getTraceIdBytes()

Unique identifier for clients to trace their request/response.

string trace_id = 5;

Returns
TypeDescription
ByteString

The bytes for traceId.

hasPayload()

public boolean hasPayload()

Actual payload to send to agent.

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

Returns
TypeDescription
boolean

Whether the payload field is set.

hasTimeout()

public boolean hasTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
boolean

Whether the timeout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EgressRequest other)

public EgressRequest.Builder mergeFrom(EgressRequest other)
Parameter
NameDescription
otherEgressRequest
Returns
TypeDescription
EgressRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EgressRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePayload
Returns
TypeDescription
EgressRequest.Builder

mergeTimeout(Duration value)

public EgressRequest.Builder mergeTimeout(Duration value)

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
EgressRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndpoint(TetherEndpoint value)

public EgressRequest.Builder setEndpoint(TetherEndpoint value)

Tether Endpoint.

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

Parameter
NameDescription
valueTetherEndpoint

The endpoint to set.

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

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

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public EgressRequest.Builder setId(String value)

Unique identifier for the request.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

setIdBytes(ByteString value)

public EgressRequest.Builder setIdBytes(ByteString value)

Unique identifier for the request.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valuePayload
Returns
TypeDescription
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
NameDescription
builderForValuePayload.Builder
Returns
TypeDescription
EgressRequest.Builder

setProject(String value)

public EgressRequest.Builder setProject(String value)

GCP Project. Format: projects/{project_number}.

string project = 4;

Parameter
NameDescription
valueString

The project to set.

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

The bytes for project to set.

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

setTimeout(Duration value)

public EgressRequest.Builder setTimeout(Duration value)

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
EgressRequest.Builder

setTimeout(Duration.Builder builderForValue)

public EgressRequest.Builder setTimeout(Duration.Builder builderForValue)

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

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

The traceId to set.

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

The bytes for traceId to set.

Returns
TypeDescription
EgressRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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