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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Tether Endpoint.clearId()Unique identifier for the request.Actual payload to send to agent.GCP Project.Timeout for 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.getId()Unique identifier for the request.com.google.protobuf.ByteStringUnique identifier for the request.Actual payload to send to agent.Actual payload to send to agent.Actual payload to send to agent.GCP Project.com.google.protobuf.ByteStringGCP Project.com.google.protobuf.DurationTimeout for the HTTP request.com.google.protobuf.Duration.BuilderTimeout for the HTTP request.com.google.protobuf.DurationOrBuilderTimeout for the HTTP request.Unique identifier for clients to trace their request/response.com.google.protobuf.ByteStringUnique identifier for clients to trace their request/response.booleanActual payload to send to agent.booleanTimeout for the HTTP request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(EgressRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePayload(Payload value) Actual payload to send to agent.mergeTimeout(com.google.protobuf.Duration value) Timeout for the HTTP request.setEndpoint(TetherEndpoint value) Tether Endpoint.setEndpointValue(int value) Tether Endpoint.Unique identifier for the request.setIdBytes(com.google.protobuf.ByteString value) Unique identifier for the request.setPayload(Payload value) Actual payload to send to agent.setPayload(Payload.Builder builderForValue) Actual payload to send to agent.setProject(String value) GCP Project.setProjectBytes(com.google.protobuf.ByteString value) GCP Project.setTimeout(com.google.protobuf.Duration value) Timeout for the HTTP request.setTimeout(com.google.protobuf.Duration.Builder builderForValue) Timeout for 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<EgressRequest.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<EgressRequest.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<EgressRequest.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<EgressRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EgressRequest.Builder>- Throws:
IOException
-
getId
Unique identifier for the request.
string id = 1;- Specified by:
getIdin interfaceEgressRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for the request.
string id = 1;- Specified by:
getIdBytesin interfaceEgressRequestOrBuilder- Returns:
- The bytes for id.
-
setId
Unique identifier for the request.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique identifier for the request.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
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:
hasPayloadin interfaceEgressRequestOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;- Specified by:
getPayloadin interfaceEgressRequestOrBuilder- Returns:
- The payload.
-
setPayload
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2; -
setPayload
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2; -
mergePayload
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2; -
clearPayload
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2; -
getPayloadBuilder
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2; -
getPayloadOrBuilder
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;- Specified by:
getPayloadOrBuilderin interfaceEgressRequestOrBuilder
-
getEndpointValue
public int getEndpointValue()Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;- Specified by:
getEndpointValuein interfaceEgressRequestOrBuilder- Returns:
- The enum numeric value on the wire for endpoint.
-
setEndpointValue
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
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;- Specified by:
getEndpointin interfaceEgressRequestOrBuilder- Returns:
- The endpoint.
-
setEndpoint
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;- Returns:
- This builder for chaining.
-
getProject
GCP Project. Format: `projects/{project_number}`.string project = 4;- Specified by:
getProjectin interfaceEgressRequestOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()GCP Project. Format: `projects/{project_number}`.string project = 4;- Specified by:
getProjectBytesin interfaceEgressRequestOrBuilder- 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.
string trace_id = 5;- Specified by:
getTraceIdin interfaceEgressRequestOrBuilder- 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:
getTraceIdBytesin interfaceEgressRequestOrBuilder- Returns:
- The bytes for traceId.
-
setTraceId
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
Unique identifier for clients to trace their request/response.
string trace_id = 5;- Returns:
- This builder for chaining.
-
setTraceIdBytes
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:
hasTimeoutin interfaceEgressRequestOrBuilder- 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:
getTimeoutin interfaceEgressRequestOrBuilder- Returns:
- The timeout.
-
setTimeout
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6; -
setTimeout
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6; -
mergeTimeout
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6; -
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:
getTimeoutOrBuilderin interfaceEgressRequestOrBuilder
-