Class Pool.NetworkConfig.Builder (0.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Pool.NetworkConfig build()
Returns
TypeDescription
Pool.NetworkConfig

buildPartial()

public Pool.NetworkConfig buildPartial()
Returns
TypeDescription
Pool.NetworkConfig

clear()

public Pool.NetworkConfig.Builder clear()
Returns
TypeDescription
Pool.NetworkConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Pool.NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Pool.NetworkConfig.Builder

This builder for chaining.

clone()

public Pool.NetworkConfig.Builder clone()
Returns
TypeDescription
Pool.NetworkConfig.Builder
Overrides

getDefaultInstanceForType()

public Pool.NetworkConfig getDefaultInstanceForType()
Returns
TypeDescription
Pool.NetworkConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for peeredNetwork.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Pool.NetworkConfig other)

public Pool.NetworkConfig.Builder mergeFrom(Pool.NetworkConfig other)
Parameter
NameDescription
otherPool.NetworkConfig
Returns
TypeDescription
Pool.NetworkConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Pool.NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The peeredNetwork to set.

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

The bytes for peeredNetwork to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Pool.NetworkConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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