Class GetTargetTcpProxyRequest.Builder (1.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTargetTcpProxyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

build()

public GetTargetTcpProxyRequest build()
Returns
TypeDescription
GetTargetTcpProxyRequest

buildPartial()

public GetTargetTcpProxyRequest buildPartial()
Returns
TypeDescription
GetTargetTcpProxyRequest

clear()

public GetTargetTcpProxyRequest.Builder clear()
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetTargetTcpProxyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTargetTcpProxyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

clearProject()

public GetTargetTcpProxyRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetTargetTcpProxyRequest.Builder

This builder for chaining.

clone()

public GetTargetTcpProxyRequest.Builder clone()
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

getDefaultInstanceForType()

public GetTargetTcpProxyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetTargetTcpProxyRequest

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetTargetTcpProxyRequest other)

public GetTargetTcpProxyRequest.Builder mergeFrom(GetTargetTcpProxyRequest other)
Parameter
NameDescription
otherGetTargetTcpProxyRequest
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetTargetTcpProxyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetTargetTcpProxyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetTcpProxyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTargetTcpProxyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The targetTcpProxy to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for targetTcpProxy to set.

Returns
TypeDescription
GetTargetTcpProxyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetTcpProxyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetTargetTcpProxyRequest.Builder
Overrides