Class TargetTcpProxiesSetBackendServiceRequest.Builder (1.61.0)

public static final class TargetTcpProxiesSetBackendServiceRequest.Builder extends GeneratedMessageV3.Builder<TargetTcpProxiesSetBackendServiceRequest.Builder> implements TargetTcpProxiesSetBackendServiceRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetBackendServiceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetTcpProxiesSetBackendServiceRequest build()
Returns
Type Description
TargetTcpProxiesSetBackendServiceRequest

buildPartial()

public TargetTcpProxiesSetBackendServiceRequest buildPartial()
Returns
Type Description
TargetTcpProxiesSetBackendServiceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public TargetTcpProxiesSetBackendServiceRequest.Builder clearService()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
Type Description
TargetTcpProxiesSetBackendServiceRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TargetTcpProxiesSetBackendServiceRequest getDefaultInstanceForType()
Returns
Type Description
TargetTcpProxiesSetBackendServiceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getService()

public String getService()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
Type Description
ByteString

The bytes for service.

hasService()

public boolean hasService()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
Type Description
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetTcpProxiesSetBackendServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setService(String value)

public TargetTcpProxiesSetBackendServiceRequest.Builder setService(String value)

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Parameter
Name Description
value String

The service to set.

Returns
Type Description
TargetTcpProxiesSetBackendServiceRequest.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public TargetTcpProxiesSetBackendServiceRequest.Builder setServiceBytes(ByteString value)

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Parameter
Name Description
value ByteString

The bytes for service to set.

Returns
Type Description
TargetTcpProxiesSetBackendServiceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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