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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Tether Endpoint.HttpResponse.clearId()Unique identifier for the response.Name is the full resource path of endpoint.GCP Project.Errors from application when handling the http request.Unique identifier for clients to trace their request/response.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorTether Endpoint.intTether Endpoint.HttpResponse.HttpResponse.HttpResponse.getId()Unique identifier for the response.com.google.protobuf.ByteStringUnique identifier for the response.getName()Name is the full resource path of endpoint.com.google.protobuf.ByteStringName is the full resource path of endpoint.GCP Project.com.google.protobuf.ByteStringGCP Project.Errors from application when handling the http request.Errors from application when handling the http request.Errors from application when handling the http request.Unique identifier for clients to trace their request/response.com.google.protobuf.ByteStringUnique identifier for clients to trace their request/response.booleanHttpResponse.booleanErrors from application when handling the http request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(EgressResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHttpResponse(HttpResponse value) HttpResponse.mergeStatus(Status value) Errors from application when handling the http request.setEndpoint(TetherEndpoint value) Tether Endpoint.setEndpointValue(int value) Tether Endpoint.setHttpResponse(HttpResponse value) HttpResponse.setHttpResponse(HttpResponse.Builder builderForValue) HttpResponse.Unique identifier for the response.setIdBytes(com.google.protobuf.ByteString value) Unique identifier for the response.Name is the full resource path of endpoint.setNameBytes(com.google.protobuf.ByteString value) Name is the full resource path of endpoint.setProject(String value) GCP Project.setProjectBytes(com.google.protobuf.ByteString value) GCP Project.Errors from application when handling the http request.setStatus(Status.Builder builderForValue) Errors from application when handling the http request.setTraceId(String value) Unique identifier for clients to trace their request/response.setTraceIdBytes(com.google.protobuf.ByteString value) Unique identifier for clients to trace their request/response.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EgressResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EgressResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EgressResponse.Builder>- Throws:
IOException
-
getId
Unique identifier for the response. Matches the EgressRequest's id.
string id = 1;- Specified by:
getIdin interfaceEgressResponseOrBuilder- 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:
getIdBytesin interfaceEgressResponseOrBuilder- Returns:
- The bytes for id.
-
setId
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
Unique identifier for the response. Matches the EgressRequest's id.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
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:
hasHttpResponsein interfaceEgressResponseOrBuilder- Returns:
- Whether the httpResponse field is set.
-
getHttpResponse
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;- Specified by:
getHttpResponsein interfaceEgressResponseOrBuilder- Returns:
- The httpResponse.
-
setHttpResponse
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2; -
setHttpResponse
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2; -
mergeHttpResponse
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2; -
clearHttpResponse
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2; -
getHttpResponseBuilder
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2; -
getHttpResponseOrBuilder
HttpResponse.
.google.cloud.apigeeconnect.v1.HttpResponse http_response = 2;- Specified by:
getHttpResponseOrBuilderin interfaceEgressResponseOrBuilder
-
hasStatus
public boolean hasStatus()Errors from application when handling the http request.
.google.rpc.Status status = 3;- Specified by:
hasStatusin interfaceEgressResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Errors from application when handling the http request.
.google.rpc.Status status = 3;- Specified by:
getStatusin interfaceEgressResponseOrBuilder- Returns:
- The status.
-
setStatus
Errors from application when handling the http request.
.google.rpc.Status status = 3; -
setStatus
Errors from application when handling the http request.
.google.rpc.Status status = 3; -
mergeStatus
Errors from application when handling the http request.
.google.rpc.Status status = 3; -
clearStatus
Errors from application when handling the http request.
.google.rpc.Status status = 3; -
getStatusBuilder
Errors from application when handling the http request.
.google.rpc.Status status = 3; -
getStatusOrBuilder
Errors from application when handling the http request.
.google.rpc.Status status = 3;- Specified by:
getStatusOrBuilderin interfaceEgressResponseOrBuilder
-
getProject
GCP Project. Format: `projects/{project_number}`.string project = 4;- Specified by:
getProjectin interfaceEgressResponseOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()GCP Project. Format: `projects/{project_number}`.string project = 4;- Specified by:
getProjectBytesin interfaceEgressResponseOrBuilder- Returns:
- The bytes for project.
-
setProject
GCP Project. Format: `projects/{project_number}`.string project = 4;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
GCP Project. Format: `projects/{project_number}`.string project = 4;- Returns:
- This builder for chaining.
-
setProjectBytes
GCP Project. Format: `projects/{project_number}`.string project = 4;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getTraceId
Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id
string trace_id = 5;- Specified by:
getTraceIdin interfaceEgressResponseOrBuilder- 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:
getTraceIdBytesin interfaceEgressResponseOrBuilder- Returns:
- The bytes for traceId.
-
setTraceId
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
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
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:
getEndpointValuein interfaceEgressResponseOrBuilder- Returns:
- The enum numeric value on the wire for endpoint.
-
setEndpointValue
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
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;- Specified by:
getEndpointin interfaceEgressResponseOrBuilder- Returns:
- The endpoint.
-
setEndpoint
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 6;- Returns:
- This builder for chaining.
-
getName
Name is the full resource path of endpoint. Format: `projects/{project_number or project_id}/endpoints/{endpoint}`string name = 7;- Specified by:
getNamein interfaceEgressResponseOrBuilder- 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:
getNameBytesin interfaceEgressResponseOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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.
-