Class EgressResponse.Builder (2.47.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EgressResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EgressResponse.Builder
Overrides

build()

public EgressResponse build()
Returns
Type Description
EgressResponse

buildPartial()

public EgressResponse buildPartial()
Returns
Type Description
EgressResponse

clear()

public EgressResponse.Builder clear()
Returns
Type Description
EgressResponse.Builder
Overrides

clearEndpoint()

public EgressResponse.Builder clearEndpoint()

Tether Endpoint.

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

Returns
Type Description
EgressResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EgressResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EgressResponse.Builder
Overrides

clearHttpResponse()

public EgressResponse.Builder clearHttpResponse()

HttpResponse.

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

Returns
Type Description
EgressResponse.Builder

clearId()

public EgressResponse.Builder clearId()

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

string id = 1;

Returns
Type Description
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
Type Description
EgressResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EgressResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EgressResponse.Builder
Overrides

clearProject()

public EgressResponse.Builder clearProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
Type Description
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
Type Description
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
Type Description
EgressResponse.Builder

This builder for chaining.

clone()

public EgressResponse.Builder clone()
Returns
Type Description
EgressResponse.Builder
Overrides

getDefaultInstanceForType()

public EgressResponse getDefaultInstanceForType()
Returns
Type Description
EgressResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpoint()

public TetherEndpoint getEndpoint()

Tether Endpoint.

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

Returns
Type Description
TetherEndpoint

The endpoint.

getEndpointValue()

public int getEndpointValue()

Tether Endpoint.

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

Returns
Type Description
int

The enum numeric value on the wire for endpoint.

getHttpResponse()

public HttpResponse getHttpResponse()

HttpResponse.

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

Returns
Type Description
HttpResponse

The httpResponse.

getHttpResponseBuilder()

public HttpResponse.Builder getHttpResponseBuilder()

HttpResponse.

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

Returns
Type Description
HttpResponse.Builder

getHttpResponseOrBuilder()

public HttpResponseOrBuilder getHttpResponseOrBuilder()

HttpResponse.

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

Returns
Type Description
HttpResponseOrBuilder

getId()

public String getId()

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

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 1;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getProject()

public String getProject()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

GCP Project. Format: projects/{project_number}.

string project = 4;

Returns
Type Description
ByteString

The bytes for project.

getStatus()

public Status getStatus()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
Type Description
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
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Errors from application when handling the http request.

.google.rpc.Status status = 3;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for traceId.

hasHttpResponse()

public boolean hasHttpResponse()

HttpResponse.

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

Returns
Type Description
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
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EgressResponse other)

public EgressResponse.Builder mergeFrom(EgressResponse other)
Parameter
Name Description
other EgressResponse
Returns
Type Description
EgressResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EgressResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EgressResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EgressResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EgressResponse.Builder
Overrides

mergeHttpResponse(HttpResponse value)

public EgressResponse.Builder mergeHttpResponse(HttpResponse value)

HttpResponse.

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

Parameter
Name Description
value HttpResponse
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
EgressResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EgressResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EgressResponse.Builder
Overrides

setEndpoint(TetherEndpoint value)

public EgressResponse.Builder setEndpoint(TetherEndpoint value)

Tether Endpoint.

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

Parameter
Name Description
value TetherEndpoint

The endpoint to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
EgressResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EgressResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EgressResponse.Builder
Overrides

setHttpResponse(HttpResponse value)

public EgressResponse.Builder setHttpResponse(HttpResponse value)

HttpResponse.

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

Parameter
Name Description
value HttpResponse
Returns
Type Description
EgressResponse.Builder

setHttpResponse(HttpResponse.Builder builderForValue)

public EgressResponse.Builder setHttpResponse(HttpResponse.Builder builderForValue)

HttpResponse.

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

Parameter
Name Description
builderForValue HttpResponse.Builder
Returns
Type Description
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
Name Description
value String

The id to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value String

The project to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
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
Name Description
value String

The traceId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for traceId to set.

Returns
Type Description
EgressResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EgressResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EgressResponse.Builder
Overrides