Class GetTargetTcpProxyRequest (1.25.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
TypeDescription
int

TARGET_TCP_PROXY_FIELD_NUMBER

public static final int TARGET_TCP_PROXY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetTargetTcpProxyRequest getDefaultInstance()
Returns
TypeDescription
GetTargetTcpProxyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GetTargetTcpProxyRequest.Builder newBuilder()
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder

newBuilder(GetTargetTcpProxyRequest prototype)

public static GetTargetTcpProxyRequest.Builder newBuilder(GetTargetTcpProxyRequest prototype)
Parameter
NameDescription
prototypeGetTargetTcpProxyRequest
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetTargetTcpProxyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GetTargetTcpProxyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetTargetTcpProxyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetTargetTcpProxyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GetTargetTcpProxyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GetTargetTcpProxyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetTargetTcpProxyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GetTargetTcpProxyRequest> parser()
Returns
TypeDescription
Parser<GetTargetTcpProxyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GetTargetTcpProxyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetTargetTcpProxyRequest

getParserForType()

public Parser<GetTargetTcpProxyRequest> getParserForType()
Returns
TypeDescription
Parser<GetTargetTcpProxyRequest>
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
ByteString

The bytes for project.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetTcpProxy()

public String getTargetTcpProxy()

Name of the TargetTcpProxy resource to return.

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for targetTcpProxy.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GetTargetTcpProxyRequest.Builder newBuilderForType()
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetTargetTcpProxyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GetTargetTcpProxyRequest.Builder toBuilder()
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException