Class EgressResponse.Builder (2.6.0)

public static final class EgressResponse.Builder extends GeneratedMessageV3.Builder<EgressResponse.Builder> implements EgressResponseOrBuilder

gRPC response payload for tether.

Protobuf type google.cloud.apigeeconnect.v1.EgressResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EgressResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EgressResponse.Builder
Overrides

build()

public EgressResponse build()
Returns
TypeDescription
EgressResponse

buildPartial()

public EgressResponse buildPartial()
Returns
TypeDescription
EgressResponse

clear()

public EgressResponse.Builder clear()
Returns
TypeDescription
EgressResponse.Builder
Overrides

clearEndpoint()

public EgressResponse.Builder clearEndpoint()

Tether Endpoint.

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

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EgressResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EgressResponse.Builder
Overrides

clearHttpResponse()

public EgressResponse.Builder clearHttpResponse()

HttpResponse.

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

Returns
TypeDescription
EgressResponse.Builder

clearId()

public EgressResponse.Builder clearId()

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

string id = 1;

Returns
TypeDescription
EgressResponse.Builder

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
TypeDescription
EgressResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EgressResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EgressResponse.Builder
Overrides

clearProject()

public EgressResponse.Builder clearProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

clearStatus()

public EgressResponse.Builder clearStatus()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
TypeDescription
EgressResponse.Builder

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
TypeDescription
EgressResponse.Builder

This builder for chaining.

clone()

public EgressResponse.Builder clone()
Returns
TypeDescription
EgressResponse.Builder
Overrides

getDefaultInstanceForType()

public EgressResponse getDefaultInstanceForType()
Returns
TypeDescription
EgressResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getHttpResponseBuilder()

public HttpResponse.Builder getHttpResponseBuilder()

HttpResponse.

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

Returns
TypeDescription
HttpResponse.Builder

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.

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.

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.

getStatusBuilder()

public Status.Builder getStatusBuilder()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
TypeDescription
com.google.rpc.Status.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EgressResponse other)

public EgressResponse.Builder mergeFrom(EgressResponse other)
Parameter
NameDescription
otherEgressResponse
Returns
TypeDescription
EgressResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EgressResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EgressResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EgressResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EgressResponse.Builder
Overrides

mergeHttpResponse(HttpResponse value)

public EgressResponse.Builder mergeHttpResponse(HttpResponse value)

HttpResponse.

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

Parameter
NameDescription
valueHttpResponse
Returns
TypeDescription
EgressResponse.Builder

mergeStatus(Status value)

public EgressResponse.Builder mergeStatus(Status value)

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
EgressResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EgressResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EgressResponse.Builder
Overrides

setEndpoint(TetherEndpoint value)

public EgressResponse.Builder setEndpoint(TetherEndpoint value)

Tether Endpoint.

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

Parameter
NameDescription
valueTetherEndpoint

The endpoint to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setEndpointValue(int value)

public EgressResponse.Builder setEndpointValue(int value)

Tether Endpoint.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for endpoint to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EgressResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EgressResponse.Builder
Overrides

setHttpResponse(HttpResponse value)

public EgressResponse.Builder setHttpResponse(HttpResponse value)

HttpResponse.

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

Parameter
NameDescription
valueHttpResponse
Returns
TypeDescription
EgressResponse.Builder

setHttpResponse(HttpResponse.Builder builderForValue)

public EgressResponse.Builder setHttpResponse(HttpResponse.Builder builderForValue)

HttpResponse.

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

Parameter
NameDescription
builderForValueHttpResponse.Builder
Returns
TypeDescription
EgressResponse.Builder

setId(String value)

public EgressResponse.Builder setId(String value)

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

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setIdBytes(ByteString value)

public EgressResponse.Builder setIdBytes(ByteString value)

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

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setName(String value)

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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EgressResponse.Builder setNameBytes(ByteString value)

Name is the full resource path of endpoint. Format: projects/{project_number or project_id}/endpoints/{endpoint}

string name = 7;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setProject(String value)

public EgressResponse.Builder setProject(String value)

GCP Project. Format: projects/{project_number}.

string project = 4;

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public EgressResponse.Builder setProjectBytes(ByteString value)

GCP Project. Format: projects/{project_number}.

string project = 4;

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EgressResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EgressResponse.Builder
Overrides

setStatus(Status value)

public EgressResponse.Builder setStatus(Status value)

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
EgressResponse.Builder

setStatus(Status.Builder builderForValue)

public EgressResponse.Builder setStatus(Status.Builder builderForValue)

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
EgressResponse.Builder

setTraceId(String value)

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;

Parameter
NameDescription
valueString

The traceId to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setTraceIdBytes(ByteString value)

public EgressResponse.Builder setTraceIdBytes(ByteString value)

Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id

string trace_id = 5;

Parameter
NameDescription
valueByteString

The bytes for traceId to set.

Returns
TypeDescription
EgressResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EgressResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EgressResponse.Builder
Overrides