Class GetTargetTcpProxyRequest.Builder (1.54.0)

public static final class GetTargetTcpProxyRequest.Builder extends GeneratedMessageV3.Builder<GetTargetTcpProxyRequest.Builder> implements GetTargetTcpProxyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetTargetTcpProxyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTargetTcpProxyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

build()

public GetTargetTcpProxyRequest build()
Returns
Type Description
GetTargetTcpProxyRequest

buildPartial()

public GetTargetTcpProxyRequest buildPartial()
Returns
Type Description
GetTargetTcpProxyRequest

clear()

public GetTargetTcpProxyRequest.Builder clear()
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetTargetTcpProxyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTargetTcpProxyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

clearProject()

public GetTargetTcpProxyRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetTargetTcpProxyRequest.Builder

This builder for chaining.

clearTargetTcpProxy()

public GetTargetTcpProxyRequest.Builder clearTargetTcpProxy()

Name of the TargetTcpProxy resource to return.

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

Returns
Type Description
GetTargetTcpProxyRequest.Builder

This builder for chaining.

clone()

public GetTargetTcpProxyRequest.Builder clone()
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

getDefaultInstanceForType()

public GetTargetTcpProxyRequest getDefaultInstanceForType()
Returns
Type Description
GetTargetTcpProxyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetTargetTcpProxyRequest other)

public GetTargetTcpProxyRequest.Builder mergeFrom(GetTargetTcpProxyRequest other)
Parameter
Name Description
other GetTargetTcpProxyRequest
Returns
Type Description
GetTargetTcpProxyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetTargetTcpProxyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetTargetTcpProxyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetTcpProxyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTargetTcpProxyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

setProject(String value)

public GetTargetTcpProxyRequest.Builder setProject(String value)

Project ID for this request.

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

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetTargetTcpProxyRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetTargetTcpProxyRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

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

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetTargetTcpProxyRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetTargetTcpProxyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides

setTargetTcpProxy(String value)

public GetTargetTcpProxyRequest.Builder setTargetTcpProxy(String value)

Name of the TargetTcpProxy resource to return.

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

Parameter
Name Description
value String

The targetTcpProxy to set.

Returns
Type Description
GetTargetTcpProxyRequest.Builder

This builder for chaining.

setTargetTcpProxyBytes(ByteString value)

public GetTargetTcpProxyRequest.Builder setTargetTcpProxyBytes(ByteString value)

Name of the TargetTcpProxy resource to return.

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

Parameter
Name Description
value ByteString

The bytes for targetTcpProxy to set.

Returns
Type Description
GetTargetTcpProxyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetTcpProxyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTargetTcpProxyRequest.Builder
Overrides