Class 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 type google.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getId

        public String getId()
         Unique identifier for the response. Matches the EgressRequest's id.
         
        string id = 1;
        Specified by:
        getId in interface EgressResponseOrBuilder
        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 interface EgressResponseOrBuilder
        Returns:
        The bytes for id.
      • hasHttpResponse

        public boolean hasHttpResponse()
         HttpResponse.
         
        .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
        Specified by:
        hasHttpResponse in interface EgressResponseOrBuilder
        Returns:
        Whether the httpResponse field is set.
      • hasStatus

        public boolean hasStatus()
         Errors from application when handling the http request.
         
        .google.rpc.Status status = 3;
        Specified by:
        hasStatus in interface EgressResponseOrBuilder
        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 interface EgressResponseOrBuilder
        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 interface EgressResponseOrBuilder
      • getProject

        public String getProject()
         GCP Project.
         Format: `projects/{project_number}`.
         
        string project = 4;
        Specified by:
        getProject in interface EgressResponseOrBuilder
        Returns:
        The project.
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         GCP Project.
         Format: `projects/{project_number}`.
         
        string project = 4;
        Specified by:
        getProjectBytes in interface EgressResponseOrBuilder
        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 interface EgressResponseOrBuilder
        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 interface EgressResponseOrBuilder
        Returns:
        The bytes for traceId.
      • getEndpointValue

        public int getEndpointValue()
         Tether Endpoint.
         
        .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
        Specified by:
        getEndpointValue in interface EgressResponseOrBuilder
        Returns:
        The enum numeric value on the wire for 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 interface EgressResponseOrBuilder
        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 interface EgressResponseOrBuilder
        Returns:
        The bytes for name.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public EgressResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public EgressResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected EgressResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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 interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public EgressResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder