Class EgressRequest (2.32.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
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

TIMEOUT_FIELD_NUMBER

public static final int TIMEOUT_FIELD_NUMBER
Field Value
TypeDescription
int

TRACE_ID_FIELD_NUMBER

public static final int TRACE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EgressRequest getDefaultInstance()
Returns
TypeDescription
EgressRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EgressRequest.Builder newBuilder()
Returns
TypeDescription
EgressRequest.Builder

newBuilder(EgressRequest prototype)

public static EgressRequest.Builder newBuilder(EgressRequest prototype)
Parameter
NameDescription
prototypeEgressRequest
Returns
TypeDescription
EgressRequest.Builder

parseDelimitedFrom(InputStream input)

public static EgressRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EgressRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EgressRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EgressRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EgressRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EgressRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EgressRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EgressRequest> parser()
Returns
TypeDescription
Parser<EgressRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EgressRequest getDefaultInstanceForType()
Returns
TypeDescription
EgressRequest

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.

getParserForType()

public Parser<EgressRequest> getParserForType()
Returns
TypeDescription
Parser<EgressRequest>
Overrides

getPayload()

public Payload getPayload()

Actual payload to send to agent.

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

Returns
TypeDescription
Payload

The payload.

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeout()

public Duration getTimeout()

Timeout for the HTTP request.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
Duration

The timeout.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EgressRequest.Builder newBuilderForType()
Returns
TypeDescription
EgressRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EgressRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EgressRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EgressRequest.Builder toBuilder()
Returns
TypeDescription
EgressRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException