Class EgressResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.apigeeconnect.v1.EgressResponse
-
- All Implemented Interfaces:
EgressResponseOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class EgressResponse extends com.google.protobuf.GeneratedMessageV3 implements EgressResponseOrBuilder
gRPC response payload for tether.
Protobuf typegoogle.cloud.apigeeconnect.v1.EgressResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EgressResponse.Builder
gRPC response payload for tether.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ENDPOINT_FIELD_NUMBER
static int
HTTP_RESPONSE_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PROJECT_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
TRACE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static EgressResponse
getDefaultInstance()
EgressResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
TetherEndpoint
getEndpoint()
Tether Endpoint.int
getEndpointValue()
Tether Endpoint.HttpResponse
getHttpResponse()
HttpResponse.HttpResponseOrBuilder
getHttpResponseOrBuilder()
HttpResponse.String
getId()
Unique identifier for the response.com.google.protobuf.ByteString
getIdBytes()
Unique identifier for the response.String
getName()
Name is the full resource path of endpoint.com.google.protobuf.ByteString
getNameBytes()
Name is the full resource path of endpoint.com.google.protobuf.Parser<EgressResponse>
getParserForType()
String
getProject()
GCP Project.com.google.protobuf.ByteString
getProjectBytes()
GCP Project.int
getSerializedSize()
com.google.rpc.Status
getStatus()
Errors from application when handling the http request.com.google.rpc.StatusOrBuilder
getStatusOrBuilder()
Errors from application when handling the http request.String
getTraceId()
Unique identifier for clients to trace their request/response.com.google.protobuf.ByteString
getTraceIdBytes()
Unique identifier for clients to trace their request/response.int
hashCode()
boolean
hasHttpResponse()
HttpResponse.boolean
hasStatus()
Errors from application when handling the http request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EgressResponse.Builder
newBuilder()
static EgressResponse.Builder
newBuilder(EgressResponse prototype)
EgressResponse.Builder
newBuilderForType()
protected EgressResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EgressResponse
parseDelimitedFrom(InputStream input)
static EgressResponse
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressResponse
parseFrom(byte[] data)
static EgressResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressResponse
parseFrom(com.google.protobuf.ByteString data)
static EgressResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static EgressResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressResponse
parseFrom(InputStream input)
static EgressResponse
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressResponse
parseFrom(ByteBuffer data)
static EgressResponse
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EgressResponse>
parser()
EgressResponse.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_RESPONSE_FIELD_NUMBER
public static final int HTTP_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getId
public String getId()
Unique identifier for the response. Matches the EgressRequest's id.
string id = 1;
- Specified by:
getId
in interfaceEgressResponseOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique identifier for the response. Matches the EgressRequest's id.
string id = 1;
- Specified by:
getIdBytes
in interfaceEgressResponseOrBuilder
- Returns:
- The bytes for id.
-
hasHttpResponse
public boolean hasHttpResponse()
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
- Specified by:
hasHttpResponse
in interfaceEgressResponseOrBuilder
- Returns:
- Whether the httpResponse field is set.
-
getHttpResponse
public HttpResponse getHttpResponse()
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
- Specified by:
getHttpResponse
in interfaceEgressResponseOrBuilder
- Returns:
- The httpResponse.
-
getHttpResponseOrBuilder
public HttpResponseOrBuilder getHttpResponseOrBuilder()
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
- Specified by:
getHttpResponseOrBuilder
in interfaceEgressResponseOrBuilder
-
hasStatus
public boolean hasStatus()
Errors from application when handling the http request.
.google.rpc.Status status = 3;
- Specified by:
hasStatus
in interfaceEgressResponseOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public com.google.rpc.Status getStatus()
Errors from application when handling the http request.
.google.rpc.Status status = 3;
- Specified by:
getStatus
in interfaceEgressResponseOrBuilder
- Returns:
- The status.
-
getStatusOrBuilder
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Errors from application when handling the http request.
.google.rpc.Status status = 3;
- Specified by:
getStatusOrBuilder
in interfaceEgressResponseOrBuilder
-
getProject
public String getProject()
GCP Project. Format: `projects/{project_number}`.
string project = 4;
- Specified by:
getProject
in interfaceEgressResponseOrBuilder
- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
GCP Project. Format: `projects/{project_number}`.
string project = 4;
- Specified by:
getProjectBytes
in interfaceEgressResponseOrBuilder
- Returns:
- The bytes for project.
-
getTraceId
public String getTraceId()
Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id
string trace_id = 5;
- Specified by:
getTraceId
in interfaceEgressResponseOrBuilder
- Returns:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()
Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id
string trace_id = 5;
- Specified by:
getTraceIdBytes
in interfaceEgressResponseOrBuilder
- Returns:
- The bytes for traceId.
-
getEndpointValue
public int getEndpointValue()
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
- Specified by:
getEndpointValue
in interfaceEgressResponseOrBuilder
- Returns:
- The enum numeric value on the wire for endpoint.
-
getEndpoint
public TetherEndpoint getEndpoint()
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
- Specified by:
getEndpoint
in interfaceEgressResponseOrBuilder
- Returns:
- The endpoint.
-
getName
public String getName()
Name is the full resource path of endpoint. Format: `projects/{project_number or project_id}/endpoints/{endpoint}`
string name = 7;
- Specified by:
getName
in interfaceEgressResponseOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name is the full resource path of endpoint. Format: `projects/{project_number or project_id}/endpoints/{endpoint}`
string name = 7;
- Specified by:
getNameBytes
in interfaceEgressResponseOrBuilder
- Returns:
- The bytes for name.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EgressResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EgressResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EgressResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EgressResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EgressResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EgressResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EgressResponse.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EgressResponse.Builder newBuilder()
-
newBuilder
public static EgressResponse.Builder newBuilder(EgressResponse prototype)
-
toBuilder
public EgressResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EgressResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EgressResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EgressResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<EgressResponse> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EgressResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-