public final class EgressRequest extends GeneratedMessageV3 implements EgressRequestOrBuilder
gRPC request payload for tether.
Protobuf type google.cloud.apigeeconnect.v1.EgressRequest
Static Fields
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Field Value
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
Field Value
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EgressRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EgressRequest.Builder newBuilder()
Returns
newBuilder(EgressRequest prototype)
public static EgressRequest.Builder newBuilder(EgressRequest prototype)
Parameter
Returns
public static EgressRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EgressRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EgressRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EgressRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EgressRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EgressRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EgressRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EgressRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EgressRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EgressRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EgressRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EgressRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EgressRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EgressRequest getDefaultInstanceForType()
Returns
getEndpoint()
public TetherEndpoint getEndpoint()
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
Returns
getEndpointValue()
public int getEndpointValue()
Tether Endpoint.
.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for endpoint.
|
getId()
Unique identifier for the request.
string id = 1;
Returns
getIdBytes()
public ByteString getIdBytes()
Unique identifier for the request.
string id = 1;
Returns
getParserForType()
public Parser<EgressRequest> getParserForType()
Returns
Overrides
getPayload()
public Payload getPayload()
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;
Returns
getPayloadOrBuilder()
public PayloadOrBuilder getPayloadOrBuilder()
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTimeout()
public Duration getTimeout()
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6;
Returns
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6;
Returns
getTraceId()
public String getTraceId()
Unique identifier for clients to trace their request/response.
string trace_id = 5;
Returns
Type | Description |
String | The traceId.
|
getTraceIdBytes()
public ByteString getTraceIdBytes()
Unique identifier for clients to trace their request/response.
string trace_id = 5;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPayload()
public boolean hasPayload()
Actual payload to send to agent.
.google.cloud.apigeeconnect.v1.Payload payload = 2;
Returns
Type | Description |
boolean | Whether the payload field is set.
|
hasTimeout()
public boolean hasTimeout()
Timeout for the HTTP request.
.google.protobuf.Duration timeout = 6;
Returns
Type | Description |
boolean | Whether the timeout field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EgressRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EgressRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EgressRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions