Class EgressRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.apigeeconnect.v1.EgressRequest
-
- All Implemented Interfaces:
EgressRequestOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class EgressRequest extends com.google.protobuf.GeneratedMessageV3 implements EgressRequestOrBuilder
gRPC request payload for tether.
Protobuf typegoogle.cloud.apigeeconnect.v1.EgressRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EgressRequest.Builder
gRPC request payload for tether.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ENDPOINT_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
PAYLOAD_FIELD_NUMBER
static int
PROJECT_FIELD_NUMBER
static int
TIMEOUT_FIELD_NUMBER
static int
TRACE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static EgressRequest
getDefaultInstance()
EgressRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
TetherEndpoint
getEndpoint()
Tether Endpoint.int
getEndpointValue()
Tether Endpoint.String
getId()
Unique identifier for the request.com.google.protobuf.ByteString
getIdBytes()
Unique identifier for the request.com.google.protobuf.Parser<EgressRequest>
getParserForType()
Payload
getPayload()
Actual payload to send to agent.PayloadOrBuilder
getPayloadOrBuilder()
Actual payload to send to agent.String
getProject()
GCP Project.com.google.protobuf.ByteString
getProjectBytes()
GCP Project.int
getSerializedSize()
com.google.protobuf.Duration
getTimeout()
Timeout for the HTTP request.com.google.protobuf.DurationOrBuilder
getTimeoutOrBuilder()
Timeout for the HTTP request.String
getTraceId()
Unique identifier for clients to trace their request/response.com.google.protobuf.ByteString
getTraceIdBytes()
Unique identifier for clients to trace their request/response.int
hashCode()
boolean
hasPayload()
Actual payload to send to agent.boolean
hasTimeout()
Timeout for the HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EgressRequest.Builder
newBuilder()
static EgressRequest.Builder
newBuilder(EgressRequest prototype)
EgressRequest.Builder
newBuilderForType()
protected EgressRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EgressRequest
parseDelimitedFrom(InputStream input)
static EgressRequest
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressRequest
parseFrom(byte[] data)
static EgressRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressRequest
parseFrom(com.google.protobuf.ByteString data)
static EgressRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static EgressRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressRequest
parseFrom(InputStream input)
static EgressRequest
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EgressRequest
parseFrom(ByteBuffer data)
static EgressRequest
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EgressRequest>
parser()
EgressRequest.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getId
public String getId()
Unique identifier for the request.
string id = 1;
- Specified by:
getId
in interfaceEgressRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique identifier for the request.
string id = 1;
- Specified by:
getIdBytes
in interfaceEgressRequestOrBuilder
- Returns:
- The bytes for id.
-
hasPayload
public boolean hasPayload()
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;
- Specified by:
hasPayload
in interfaceEgressRequestOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public Payload getPayload()
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;
- Specified by:
getPayload
in interfaceEgressRequestOrBuilder
- Returns:
- The payload.
-
getPayloadOrBuilder
public PayloadOrBuilder getPayloadOrBuilder()
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;
- Specified by:
getPayloadOrBuilder
in interfaceEgressRequestOrBuilder
-
getEndpointValue
public int getEndpointValue()
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
- Specified by:
getEndpointValue
in interfaceEgressRequestOrBuilder
- Returns:
- The enum numeric value on the wire for endpoint.
-
getEndpoint
public TetherEndpoint getEndpoint()
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
- Specified by:
getEndpoint
in interfaceEgressRequestOrBuilder
- Returns:
- The endpoint.
-
getProject
public String getProject()
GCP Project. Format: `projects/{project_number}`.
string project = 4;
- Specified by:
getProject
in interfaceEgressRequestOrBuilder
- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
GCP Project. Format: `projects/{project_number}`.
string project = 4;
- Specified by:
getProjectBytes
in interfaceEgressRequestOrBuilder
- Returns:
- The bytes for project.
-
getTraceId
public String getTraceId()
Unique identifier for clients to trace their request/response.
string trace_id = 5;
- Specified by:
getTraceId
in 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:
getTraceIdBytes
in interfaceEgressRequestOrBuilder
- Returns:
- The bytes for traceId.
-
hasTimeout
public boolean hasTimeout()
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6;
- Specified by:
hasTimeout
in 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:
getTimeout
in interfaceEgressRequestOrBuilder
- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6;
- Specified by:
getTimeoutOrBuilder
in interfaceEgressRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EgressRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EgressRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EgressRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EgressRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EgressRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EgressRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EgressRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EgressRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EgressRequest.Builder newBuilder()
-
newBuilder
public static EgressRequest.Builder newBuilder(EgressRequest prototype)
-
toBuilder
public EgressRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EgressRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EgressRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EgressRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<EgressRequest> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EgressRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-