Class EgressResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
com.google.cloud.apigeeconnect.v1.EgressResponse.Builder
All Implemented Interfaces:
EgressResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EgressResponse

public static final class EgressResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder> implements EgressResponseOrBuilder
 gRPC response payload for tether.
 
Protobuf type google.cloud.apigeeconnect.v1.EgressResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
    • clear

      public EgressResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public EgressResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EgressResponse.Builder>
    • mergeFrom

      public EgressResponse.Builder mergeFrom(EgressResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
    • mergeFrom

      public EgressResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EgressResponse.Builder>
      Throws:
      IOException
    • 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.
    • setId

      public EgressResponse.Builder setId(String value)
       Unique identifier for the response. Matches the EgressRequest's id.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public EgressResponse.Builder clearId()
       Unique identifier for the response. Matches the EgressRequest's id.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public EgressResponse.Builder setIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for the response. Matches the EgressRequest's id.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • 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.
    • getHttpResponse

      public HttpResponse getHttpResponse()
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
      Specified by:
      getHttpResponse in interface EgressResponseOrBuilder
      Returns:
      The httpResponse.
    • setHttpResponse

      public EgressResponse.Builder setHttpResponse(HttpResponse value)
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
    • setHttpResponse

      public EgressResponse.Builder setHttpResponse(HttpResponse.Builder builderForValue)
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
    • mergeHttpResponse

      public EgressResponse.Builder mergeHttpResponse(HttpResponse value)
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
    • clearHttpResponse

      public EgressResponse.Builder clearHttpResponse()
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
    • getHttpResponseBuilder

      public HttpResponse.Builder getHttpResponseBuilder()
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
    • getHttpResponseOrBuilder

      public HttpResponseOrBuilder getHttpResponseOrBuilder()
       HttpResponse.
       
      .google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;
      Specified by:
      getHttpResponseOrBuilder in interface EgressResponseOrBuilder
    • 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 Status getStatus()
       Errors from application when handling the http request.
       
      .google.rpc.Status status = 3;
      Specified by:
      getStatus in interface EgressResponseOrBuilder
      Returns:
      The status.
    • setStatus

      public EgressResponse.Builder setStatus(Status value)
       Errors from application when handling the http request.
       
      .google.rpc.Status status = 3;
    • setStatus

      public EgressResponse.Builder setStatus(Status.Builder builderForValue)
       Errors from application when handling the http request.
       
      .google.rpc.Status status = 3;
    • mergeStatus

      public EgressResponse.Builder mergeStatus(Status value)
       Errors from application when handling the http request.
       
      .google.rpc.Status status = 3;
    • clearStatus

      public EgressResponse.Builder clearStatus()
       Errors from application when handling the http request.
       
      .google.rpc.Status status = 3;
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
       Errors from application when handling the http request.
       
      .google.rpc.Status status = 3;
    • getStatusOrBuilder

      public 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.
    • setProject

      public EgressResponse.Builder setProject(String value)
       GCP Project.
       Format: `projects/{project_number}`.
       
      string project = 4;
      Parameters:
      value - The project to set.
      Returns:
      This builder for chaining.
    • clearProject

      public EgressResponse.Builder clearProject()
       GCP Project.
       Format: `projects/{project_number}`.
       
      string project = 4;
      Returns:
      This builder for chaining.
    • setProjectBytes

      public EgressResponse.Builder setProjectBytes(com.google.protobuf.ByteString value)
       GCP Project.
       Format: `projects/{project_number}`.
       
      string project = 4;
      Parameters:
      value - The bytes for project to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTraceId

      public EgressResponse.Builder setTraceId(String value)
       Unique identifier for clients to trace their request/response. Matches the
       EgressRequest's trace id
       
      string trace_id = 5;
      Parameters:
      value - The traceId to set.
      Returns:
      This builder for chaining.
    • clearTraceId

      public EgressResponse.Builder clearTraceId()
       Unique identifier for clients to trace their request/response. Matches the
       EgressRequest's trace id
       
      string trace_id = 5;
      Returns:
      This builder for chaining.
    • setTraceIdBytes

      public EgressResponse.Builder setTraceIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for clients to trace their request/response. Matches the
       EgressRequest's trace id
       
      string trace_id = 5;
      Parameters:
      value - The bytes for traceId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setEndpointValue

      public EgressResponse.Builder setEndpointValue(int value)
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
      Parameters:
      value - The enum numeric value on the wire for endpoint to set.
      Returns:
      This builder for chaining.
    • getEndpoint

      public TetherEndpoint getEndpoint()
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
      Specified by:
      getEndpoint in interface EgressResponseOrBuilder
      Returns:
      The endpoint.
    • setEndpoint

      public EgressResponse.Builder setEndpoint(TetherEndpoint value)
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

      public EgressResponse.Builder clearEndpoint()
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
      Returns:
      This builder for chaining.
    • 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.
    • setName

      public EgressResponse.Builder setName(String value)
       Name is the full resource path of endpoint.
       Format: `projects/{project_number or project_id}/endpoints/{endpoint}`
       
      string name = 7;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public EgressResponse.Builder clearName()
       Name is the full resource path of endpoint.
       Format: `projects/{project_number or project_id}/endpoints/{endpoint}`
       
      string name = 7;
      Returns:
      This builder for chaining.
    • setNameBytes

      public EgressResponse.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name is the full resource path of endpoint.
       Format: `projects/{project_number or project_id}/endpoints/{endpoint}`
       
      string name = 7;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.