Class MulticloudDataTransferSupportedService.Builder (1.73.0)

public static final class MulticloudDataTransferSupportedService.Builder extends GeneratedMessageV3.Builder<MulticloudDataTransferSupportedService.Builder> implements MulticloudDataTransferSupportedServiceOrBuilder

A service in your project in a region that is eligible for Data Transfer Essentials configuration.

Protobuf type google.cloud.networkconnectivity.v1.MulticloudDataTransferSupportedService

Static Methods

getDescriptor()

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

Methods

addAllServiceConfigs(Iterable<? extends ServiceConfig> values)

public MulticloudDataTransferSupportedService.Builder addAllServiceConfigs(Iterable<? extends ServiceConfig> values)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkconnectivity.v1.ServiceConfig>
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceConfigs(ServiceConfig value)

public MulticloudDataTransferSupportedService.Builder addServiceConfigs(ServiceConfig value)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ServiceConfig
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

addServiceConfigs(ServiceConfig.Builder builderForValue)

public MulticloudDataTransferSupportedService.Builder addServiceConfigs(ServiceConfig.Builder builderForValue)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ServiceConfig.Builder
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

addServiceConfigs(int index, ServiceConfig value)

public MulticloudDataTransferSupportedService.Builder addServiceConfigs(int index, ServiceConfig value)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ServiceConfig
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

addServiceConfigs(int index, ServiceConfig.Builder builderForValue)

public MulticloudDataTransferSupportedService.Builder addServiceConfigs(int index, ServiceConfig.Builder builderForValue)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ServiceConfig.Builder
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

addServiceConfigsBuilder()

public ServiceConfig.Builder addServiceConfigsBuilder()

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ServiceConfig.Builder

addServiceConfigsBuilder(int index)

public ServiceConfig.Builder addServiceConfigsBuilder(int index)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ServiceConfig.Builder

build()

public MulticloudDataTransferSupportedService build()
Returns
Type Description
MulticloudDataTransferSupportedService

buildPartial()

public MulticloudDataTransferSupportedService buildPartial()
Returns
Type Description
MulticloudDataTransferSupportedService

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public MulticloudDataTransferSupportedService.Builder clearName()

Identifier. The name of the service.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
MulticloudDataTransferSupportedService.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceConfigs()

public MulticloudDataTransferSupportedService.Builder clearServiceConfigs()

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MulticloudDataTransferSupportedService.Builder

clone()

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

getDefaultInstanceForType()

public MulticloudDataTransferSupportedService getDefaultInstanceForType()
Returns
Type Description
MulticloudDataTransferSupportedService

getDescriptorForType()

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

getName()

public String getName()

Identifier. The name of the service.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the service.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getServiceConfigs(int index)

public ServiceConfig getServiceConfigs(int index)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ServiceConfig

getServiceConfigsBuilder(int index)

public ServiceConfig.Builder getServiceConfigsBuilder(int index)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ServiceConfig.Builder

getServiceConfigsBuilderList()

public List<ServiceConfig.Builder> getServiceConfigsBuilderList()

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getServiceConfigsCount()

public int getServiceConfigsCount()

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getServiceConfigsList()

public List<ServiceConfig> getServiceConfigsList()

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ServiceConfig>

getServiceConfigsOrBuilder(int index)

public ServiceConfigOrBuilder getServiceConfigsOrBuilder(int index)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ServiceConfigOrBuilder

getServiceConfigsOrBuilderList()

public List<? extends ServiceConfigOrBuilder> getServiceConfigsOrBuilderList()

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1.ServiceConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MulticloudDataTransferSupportedService other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServiceConfigs(int index)

public MulticloudDataTransferSupportedService.Builder removeServiceConfigs(int index)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public MulticloudDataTransferSupportedService.Builder setName(String value)

Identifier. The name of the service.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MulticloudDataTransferSupportedService.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MulticloudDataTransferSupportedService.Builder setNameBytes(ByteString value)

Identifier. The name of the service.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MulticloudDataTransferSupportedService.Builder

This builder for chaining.

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

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

setServiceConfigs(int index, ServiceConfig value)

public MulticloudDataTransferSupportedService.Builder setServiceConfigs(int index, ServiceConfig value)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ServiceConfig
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

setServiceConfigs(int index, ServiceConfig.Builder builderForValue)

public MulticloudDataTransferSupportedService.Builder setServiceConfigs(int index, ServiceConfig.Builder builderForValue)

Output only. The network service tier or regional endpoint supported for the service.

repeated .google.cloud.networkconnectivity.v1.ServiceConfig service_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ServiceConfig.Builder
Returns
Type Description
MulticloudDataTransferSupportedService.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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