Class GetTargetTcpProxyRequest (1.64.0)

public final class GetTargetTcpProxyRequest extends GeneratedMessageV3 implements GetTargetTcpProxyRequestOrBuilder

A request message for TargetTcpProxies.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetTargetTcpProxyRequest

Static Fields

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

TARGET_TCP_PROXY_FIELD_NUMBER

public static final int TARGET_TCP_PROXY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetTargetTcpProxyRequest getDefaultInstance()
Returns
Type Description
GetTargetTcpProxyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GetTargetTcpProxyRequest.Builder newBuilder()
Returns
Type Description
GetTargetTcpProxyRequest.Builder

newBuilder(GetTargetTcpProxyRequest prototype)

public static GetTargetTcpProxyRequest.Builder newBuilder(GetTargetTcpProxyRequest prototype)
Parameter
Name Description
prototype GetTargetTcpProxyRequest
Returns
Type Description
GetTargetTcpProxyRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetTargetTcpProxyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetTargetTcpProxyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetTargetTcpProxyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetTargetTcpProxyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetTargetTcpProxyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetTargetTcpProxyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetTargetTcpProxyRequest> parser()
Returns
Type Description
Parser<GetTargetTcpProxyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetTargetTcpProxyRequest getDefaultInstanceForType()
Returns
Type Description
GetTargetTcpProxyRequest

getParserForType()

public Parser<GetTargetTcpProxyRequest> getParserForType()
Returns
Type Description
Parser<GetTargetTcpProxyRequest>
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetTcpProxy()

public String getTargetTcpProxy()

Name of the TargetTcpProxy resource to return.

string target_tcp_proxy = 503065442 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetTcpProxy.

getTargetTcpProxyBytes()

public ByteString getTargetTcpProxyBytes()

Name of the TargetTcpProxy resource to return.

string target_tcp_proxy = 503065442 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetTcpProxy.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetTargetTcpProxyRequest.Builder newBuilderForType()
Returns
Type Description
GetTargetTcpProxyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetTargetTcpProxyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetTargetTcpProxyRequest.Builder toBuilder()
Returns
Type Description
GetTargetTcpProxyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException