Class EgressRequest.Builder

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

public static final class EgressRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<EgressRequest.Builder> implements EgressRequestOrBuilder
 gRPC request payload for tether.
 
Protobuf type google.cloud.apigeeconnect.v1.EgressRequest
  • 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<EgressRequest.Builder>
    • clear

      public EgressRequest.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<EgressRequest.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<EgressRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public EgressRequest.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<EgressRequest.Builder>
    • mergeFrom

      public EgressRequest.Builder mergeFrom(EgressRequest other)
    • isInitialized

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

      public EgressRequest.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<EgressRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Unique identifier for the request.
       
      string id = 1;
      Specified by:
      getId in interface EgressRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Unique identifier for the request.
       
      string id = 1;
      Specified by:
      getIdBytes in interface EgressRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

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

      public EgressRequest.Builder clearId()
       Unique identifier for the request.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public EgressRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for the request.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasPayload

      public boolean hasPayload()
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
      Specified by:
      hasPayload in interface EgressRequestOrBuilder
      Returns:
      Whether the payload field is set.
    • getPayload

      public Payload getPayload()
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
      Specified by:
      getPayload in interface EgressRequestOrBuilder
      Returns:
      The payload.
    • setPayload

      public EgressRequest.Builder setPayload(Payload value)
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
    • setPayload

      public EgressRequest.Builder setPayload(Payload.Builder builderForValue)
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
    • mergePayload

      public EgressRequest.Builder mergePayload(Payload value)
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
    • clearPayload

      public EgressRequest.Builder clearPayload()
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
    • getPayloadBuilder

      public Payload.Builder getPayloadBuilder()
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
    • getPayloadOrBuilder

      public PayloadOrBuilder getPayloadOrBuilder()
       Actual payload to send to agent.
       
      .google.cloud.apigeeconnect.v1.Payload payload = 2;
      Specified by:
      getPayloadOrBuilder in interface EgressRequestOrBuilder
    • getEndpointValue

      public int getEndpointValue()
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
      Specified by:
      getEndpointValue in interface EgressRequestOrBuilder
      Returns:
      The enum numeric value on the wire for endpoint.
    • setEndpointValue

      public EgressRequest.Builder setEndpointValue(int value)
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
      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 = 3;
      Specified by:
      getEndpoint in interface EgressRequestOrBuilder
      Returns:
      The endpoint.
    • setEndpoint

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

      public EgressRequest.Builder clearEndpoint()
       Tether Endpoint.
       
      .google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
      Returns:
      This builder for chaining.
    • getProject

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

      public com.google.protobuf.ByteString getProjectBytes()
       GCP Project.
       Format: `projects/{project_number}`.
       
      string project = 4;
      Specified by:
      getProjectBytes in interface EgressRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

      public EgressRequest.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 EgressRequest.Builder clearProject()
       GCP Project.
       Format: `projects/{project_number}`.
       
      string project = 4;
      Returns:
      This builder for chaining.
    • setProjectBytes

      public EgressRequest.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.
       
      string trace_id = 5;
      Specified by:
      getTraceId in interface EgressRequestOrBuilder
      Returns:
      The traceId.
    • getTraceIdBytes

      public com.google.protobuf.ByteString getTraceIdBytes()
       Unique identifier for clients to trace their request/response.
       
      string trace_id = 5;
      Specified by:
      getTraceIdBytes in interface EgressRequestOrBuilder
      Returns:
      The bytes for traceId.
    • setTraceId

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

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

      public EgressRequest.Builder setTraceIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for clients to trace their request/response.
       
      string trace_id = 5;
      Parameters:
      value - The bytes for traceId to set.
      Returns:
      This builder for chaining.
    • hasTimeout

      public boolean hasTimeout()
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
      Specified by:
      hasTimeout in interface EgressRequestOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public com.google.protobuf.Duration getTimeout()
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
      Specified by:
      getTimeout in interface EgressRequestOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public EgressRequest.Builder setTimeout(com.google.protobuf.Duration value)
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
    • setTimeout

      public EgressRequest.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
    • mergeTimeout

      public EgressRequest.Builder mergeTimeout(com.google.protobuf.Duration value)
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
    • clearTimeout

      public EgressRequest.Builder clearTimeout()
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
    • getTimeoutBuilder

      public com.google.protobuf.Duration.Builder getTimeoutBuilder()
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
    • getTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
       Timeout for the HTTP request.
       
      .google.protobuf.Duration timeout = 6;
      Specified by:
      getTimeoutOrBuilder in interface EgressRequestOrBuilder