Class TargetTcpProxiesSetBackendServiceRequest.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetTcpProxiesSetBackendServiceRequest build()
Returns
TypeDescription
TargetTcpProxiesSetBackendServiceRequest

buildPartial()

public TargetTcpProxiesSetBackendServiceRequest buildPartial()
Returns
TypeDescription
TargetTcpProxiesSetBackendServiceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public TargetTcpProxiesSetBackendServiceRequest.Builder clearService()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
TypeDescription
TargetTcpProxiesSetBackendServiceRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TargetTcpProxiesSetBackendServiceRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetTcpProxiesSetBackendServiceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getService()

public String getService()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
TypeDescription
ByteString

The bytes for service.

hasService()

public boolean hasService()

The URL of the new BackendService resource for the targetTcpProxy.

optional string service = 373540533;

Returns
TypeDescription
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetTcpProxiesSetBackendServiceRequest other)

public TargetTcpProxiesSetBackendServiceRequest.Builder mergeFrom(TargetTcpProxiesSetBackendServiceRequest other)
Parameter
NameDescription
otherTargetTcpProxiesSetBackendServiceRequest
Returns
TypeDescription
TargetTcpProxiesSetBackendServiceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TargetTcpProxiesSetBackendServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The service to set.

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

The bytes for service to set.

Returns
TypeDescription
TargetTcpProxiesSetBackendServiceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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