public static final class PrivatePoolV1Config.NetworkConfig.Builder extends GeneratedMessageV3.Builder<PrivatePoolV1Config.NetworkConfig.Builder> implements PrivatePoolV1Config.NetworkConfigOrBuilder
Defines the network configuration for the pool.
Protobuf type google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivatePoolV1Config.NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivatePoolV1Config.NetworkConfig build()
buildPartial()
public PrivatePoolV1Config.NetworkConfig buildPartial()
clear()
public PrivatePoolV1Config.NetworkConfig.Builder clear()
Overrides
clearEgressOption()
public PrivatePoolV1Config.NetworkConfig.Builder clearEgressOption()
Option to configure network egress for the workers.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption egress_option = 2;
clearField(Descriptors.FieldDescriptor field)
public PrivatePoolV1Config.NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivatePoolV1Config.NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPeeredNetwork()
public PrivatePoolV1Config.NetworkConfig.Builder clearPeeredNetwork()
Required. Immutable. The network definition that the workers are peered
to. If this section is left empty, the workers will be peered to
WorkerPool.project_id
on the service producer network. Must be in the
format projects/{project}/global/networks/{network}
, where {project}
is a project number, such as 12345
, and {network}
is the name of a
VPC network in the project. See
Understanding network configuration
options
string peered_network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public PrivatePoolV1Config.NetworkConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PrivatePoolV1Config.NetworkConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEgressOption()
public PrivatePoolV1Config.NetworkConfig.EgressOption getEgressOption()
Option to configure network egress for the workers.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption egress_option = 2;
getEgressOptionValue()
public int getEgressOptionValue()
Option to configure network egress for the workers.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption egress_option = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for egressOption.
|
getPeeredNetwork()
public String getPeeredNetwork()
Required. Immutable. The network definition that the workers are peered
to. If this section is left empty, the workers will be peered to
WorkerPool.project_id
on the service producer network. Must be in the
format projects/{project}/global/networks/{network}
, where {project}
is a project number, such as 12345
, and {network}
is the name of a
VPC network in the project. See
Understanding network configuration
options
string peered_network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The peeredNetwork.
|
getPeeredNetworkBytes()
public ByteString getPeeredNetworkBytes()
Required. Immutable. The network definition that the workers are peered
to. If this section is left empty, the workers will be peered to
WorkerPool.project_id
on the service producer network. Must be in the
format projects/{project}/global/networks/{network}
, where {project}
is a project number, such as 12345
, and {network}
is the name of a
VPC network in the project. See
Understanding network configuration
options
string peered_network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for peeredNetwork.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivatePoolV1Config.NetworkConfig other)
public PrivatePoolV1Config.NetworkConfig.Builder mergeFrom(PrivatePoolV1Config.NetworkConfig other)
public PrivatePoolV1Config.NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivatePoolV1Config.NetworkConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivatePoolV1Config.NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEgressOption(PrivatePoolV1Config.NetworkConfig.EgressOption value)
public PrivatePoolV1Config.NetworkConfig.Builder setEgressOption(PrivatePoolV1Config.NetworkConfig.EgressOption value)
Option to configure network egress for the workers.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption egress_option = 2;
setEgressOptionValue(int value)
public PrivatePoolV1Config.NetworkConfig.Builder setEgressOptionValue(int value)
Option to configure network egress for the workers.
.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig.EgressOption egress_option = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for egressOption to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PrivatePoolV1Config.NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPeeredNetwork(String value)
public PrivatePoolV1Config.NetworkConfig.Builder setPeeredNetwork(String value)
Required. Immutable. The network definition that the workers are peered
to. If this section is left empty, the workers will be peered to
WorkerPool.project_id
on the service producer network. Must be in the
format projects/{project}/global/networks/{network}
, where {project}
is a project number, such as 12345
, and {network}
is the name of a
VPC network in the project. See
Understanding network configuration
options
string peered_network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The peeredNetwork to set.
|
setPeeredNetworkBytes(ByteString value)
public PrivatePoolV1Config.NetworkConfig.Builder setPeeredNetworkBytes(ByteString value)
Required. Immutable. The network definition that the workers are peered
to. If this section is left empty, the workers will be peered to
WorkerPool.project_id
on the service producer network. Must be in the
format projects/{project}/global/networks/{network}
, where {project}
is a project number, such as 12345
, and {network}
is the name of a
VPC network in the project. See
Understanding network configuration
options
string peered_network = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for peeredNetwork to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivatePoolV1Config.NetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivatePoolV1Config.NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides