Class TargetTcpProxiesSetBackendServiceRequest.Builder (1.93.0)

public static final class TargetTcpProxiesSetBackendServiceRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.