Class EgressResponse (2.53.0)

public final class EgressResponse extends GeneratedMessageV3 implements EgressResponseOrBuilder

gRPC response payload for tether.

Protobuf type google.cloud.apigeeconnect.v1.EgressResponse

Static Fields

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

HTTP_RESPONSE_FIELD_NUMBER

public static final int HTTP_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_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 EgressResponse getDefaultInstance()
Returns
Type Description
EgressResponse

getDescriptor()

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

newBuilder()

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

newBuilder(EgressResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EgressResponse getDefaultInstanceForType()
Returns
Type Description
EgressResponse

getEndpoint()

public TetherEndpoint getEndpoint()

Tether Endpoint.

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

Returns
Type Description
TetherEndpoint

The endpoint.

getEndpointValue()

public int getEndpointValue()

Tether Endpoint.

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

Returns
Type Description
int

The enum numeric value on the wire for endpoint.

getHttpResponse()

public HttpResponse getHttpResponse()

HttpResponse.

.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;

Returns
Type Description
HttpResponse

The httpResponse.

getHttpResponseOrBuilder()

public HttpResponseOrBuilder getHttpResponseOrBuilder()

HttpResponse.

.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;

Returns
Type Description
HttpResponseOrBuilder

getId()

public String getId()

Unique identifier for the response. Matches the EgressRequest's id.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique identifier for the response. Matches the EgressRequest's id.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getName()

public String getName()

Name is the full resource path of endpoint. Format: projects/{project_number or project_id}/endpoints/{endpoint}

string name = 7;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name is the full resource path of endpoint. Format: projects/{project_number or project_id}/endpoints/{endpoint}

string name = 7;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

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

getStatus()

public Status getStatus()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTraceId()

public String getTraceId()

Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id

string trace_id = 5;

Returns
Type Description
String

The traceId.

getTraceIdBytes()

public ByteString getTraceIdBytes()

Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id

string trace_id = 5;

Returns
Type Description
ByteString

The bytes for traceId.

hasHttpResponse()

public boolean hasHttpResponse()

HttpResponse.

.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;

Returns
Type Description
boolean

Whether the httpResponse field is set.

hasStatus()

public boolean hasStatus()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
Type Description
boolean

Whether the status 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 EgressResponse.Builder newBuilderForType()
Returns
Type Description
EgressResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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