Class Pool.NetworkConfig.Builder (0.53.0)

public static final class Pool.NetworkConfig.Builder extends GeneratedMessageV3.Builder<Pool.NetworkConfig.Builder> implements Pool.NetworkConfigOrBuilder

Defines the network configuration for the pool.

Protobuf type google.cloud.video.livestream.v1.Pool.NetworkConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Pool.NetworkConfig build()
Returns
Type Description
Pool.NetworkConfig

buildPartial()

public Pool.NetworkConfig buildPartial()
Returns
Type Description
Pool.NetworkConfig

clear()

public Pool.NetworkConfig.Builder clear()
Returns
Type Description
Pool.NetworkConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeeredNetwork()

public Pool.NetworkConfig.Builder clearPeeredNetwork()

peered_network is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peered_network is omitted or empty, the pool will use endpoints that are publicly available.

string peered_network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
Pool.NetworkConfig.Builder

This builder for chaining.

clone()

public Pool.NetworkConfig.Builder clone()
Returns
Type Description
Pool.NetworkConfig.Builder
Overrides

getDefaultInstanceForType()

public Pool.NetworkConfig getDefaultInstanceForType()
Returns
Type Description
Pool.NetworkConfig

getDescriptorForType()

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

getPeeredNetwork()

public String getPeeredNetwork()

peered_network is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peered_network is omitted or empty, the pool will use endpoints that are publicly available.

string peered_network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The peeredNetwork.

getPeeredNetworkBytes()

public ByteString getPeeredNetworkBytes()

peered_network is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peered_network is omitted or empty, the pool will use endpoints that are publicly available.

string peered_network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for peeredNetwork.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Pool.NetworkConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPeeredNetwork(String value)

public Pool.NetworkConfig.Builder setPeeredNetwork(String value)

peered_network is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peered_network is omitted or empty, the pool will use endpoints that are publicly available.

string peered_network = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The peeredNetwork to set.

Returns
Type Description
Pool.NetworkConfig.Builder

This builder for chaining.

setPeeredNetworkBytes(ByteString value)

public Pool.NetworkConfig.Builder setPeeredNetworkBytes(ByteString value)

peered_network is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peered_network is omitted or empty, the pool will use endpoints that are publicly available.

string peered_network = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for peeredNetwork to set.

Returns
Type Description
Pool.NetworkConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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