Class EgressResponse (2.27.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
TypeDescription
int

HTTP_RESPONSE_FIELD_NUMBER

public static final int HTTP_RESPONSE_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(EgressResponse prototype)

public static EgressResponse.Builder newBuilder(EgressResponse prototype)
Parameter
NameDescription
prototypeEgressResponse
Returns
TypeDescription
EgressResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EgressResponse getDefaultInstanceForType()
Returns
TypeDescription
EgressResponse

getEndpoint()

public TetherEndpoint getEndpoint()

Tether Endpoint.

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

Returns
TypeDescription
TetherEndpoint

The endpoint.

getEndpointValue()

public int getEndpointValue()

Tether Endpoint.

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

Returns
TypeDescription
int

The enum numeric value on the wire for endpoint.

getHttpResponse()

public HttpResponse getHttpResponse()

HttpResponse.

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

Returns
TypeDescription
HttpResponse

The httpResponse.

getHttpResponseOrBuilder()

public HttpResponseOrBuilder getHttpResponseOrBuilder()

HttpResponse.

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

Returns
TypeDescription
HttpResponseOrBuilder

getId()

public String getId()

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

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

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

getStatus()

public Status getStatus()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for traceId.

hasHttpResponse()

public boolean hasHttpResponse()

HttpResponse.

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

Returns
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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