Class EgressRequest (2.46.0)

public final class EgressRequest extends GeneratedMessageV3 implements EgressRequestOrBuilder

gRPC request payload for tether.

Protobuf type google.cloud.apigeeconnect.v1.EgressRequest

Static Fields

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

TIMEOUT_FIELD_NUMBER

public static final int TIMEOUT_FIELD_NUMBER
Field Value
Type Description
int

TRACE_ID_FIELD_NUMBER

public static final int TRACE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EgressRequest getDefaultInstance()
Returns
Type Description
EgressRequest

getDescriptor()

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

newBuilder()

public static EgressRequest.Builder newBuilder()
Returns
Type Description
EgressRequest.Builder

newBuilder(EgressRequest prototype)

public static EgressRequest.Builder newBuilder(EgressRequest prototype)
Parameter
Name Description
prototype EgressRequest
Returns
Type Description
EgressRequest.Builder

parseDelimitedFrom(InputStream input)

public static EgressRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EgressRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EgressRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EgressRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EgressRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EgressRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EgressRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EgressRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EgressRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EgressRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EgressRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EgressRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EgressRequest> parser()
Returns
Type Description
Parser<EgressRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EgressRequest getDefaultInstanceForType()
Returns
Type Description
EgressRequest

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.

getParserForType()

public Parser<EgressRequest> getParserForType()
Returns
Type Description
Parser<EgressRequest>
Overrides

getPayload()

public Payload getPayload()

Actual payload to send to agent.

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

Returns
Type Description
Payload

The payload.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimeout()

public Duration getTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
Duration

The timeout.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EgressRequest.Builder newBuilderForType()
Returns
Type Description
EgressRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EgressRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EgressRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EgressRequest.Builder toBuilder()
Returns
Type Description
EgressRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException