public static final class EgressResponse.Builder extends GeneratedMessage.Builder<EgressResponse.Builder> implements EgressResponseOrBuildergRPC response payload for tether.
Protobuf type google.cloud.apigeeconnect.v1.EgressResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EgressResponse.BuilderImplements
EgressResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearEndpoint()
public EgressResponse.Builder clearEndpoint()Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
| Returns | |
|---|---|
| Type | Description |
EgressResponse.Builder |
This builder for chaining. |
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. |
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. |
getDefaultInstanceForType()
public EgressResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EgressResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EgressResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EgressResponse.Builder |
|
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 |
|
setEndpoint(TetherEndpoint value)
public EgressResponse.Builder setEndpoint(TetherEndpoint value)Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
TetherEndpointThe 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 |
intThe enum numeric value on the wire for endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
EgressResponse.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
EgressResponse.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for traceId to set. |
| Returns | |
|---|---|
| Type | Description |
EgressResponse.Builder |
This builder for chaining. |