Class PrivatePoolV1Config (3.45.0)

public final class PrivatePoolV1Config extends GeneratedMessageV3 implements PrivatePoolV1ConfigOrBuilder

Configuration for a V1 PrivatePool.

Protobuf type google.devtools.cloudbuild.v1.PrivatePoolV1Config

Static Fields

NETWORK_CONFIG_FIELD_NUMBER

public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

WORKER_CONFIG_FIELD_NUMBER

public static final int WORKER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivatePoolV1Config getDefaultInstance()
Returns
Type Description
PrivatePoolV1Config

getDescriptor()

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

newBuilder()

public static PrivatePoolV1Config.Builder newBuilder()
Returns
Type Description
PrivatePoolV1Config.Builder

newBuilder(PrivatePoolV1Config prototype)

public static PrivatePoolV1Config.Builder newBuilder(PrivatePoolV1Config prototype)
Parameter
Name Description
prototype PrivatePoolV1Config
Returns
Type Description
PrivatePoolV1Config.Builder

parseDelimitedFrom(InputStream input)

public static PrivatePoolV1Config parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivatePoolV1Config parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivatePoolV1Config parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivatePoolV1Config parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivatePoolV1Config parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivatePoolV1Config parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePoolV1Config
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivatePoolV1Config> parser()
Returns
Type Description
Parser<PrivatePoolV1Config>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PrivatePoolV1Config getDefaultInstanceForType()
Returns
Type Description
PrivatePoolV1Config

getNetworkConfig()

public PrivatePoolV1Config.NetworkConfig getNetworkConfig()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
PrivatePoolV1Config.NetworkConfig

The networkConfig.

getNetworkConfigOrBuilder()

public PrivatePoolV1Config.NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
PrivatePoolV1Config.NetworkConfigOrBuilder

getParserForType()

public Parser<PrivatePoolV1Config> getParserForType()
Returns
Type Description
Parser<PrivatePoolV1Config>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWorkerConfig()

public PrivatePoolV1Config.WorkerConfig getWorkerConfig()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
PrivatePoolV1Config.WorkerConfig

The workerConfig.

getWorkerConfigOrBuilder()

public PrivatePoolV1Config.WorkerConfigOrBuilder getWorkerConfigOrBuilder()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
PrivatePoolV1Config.WorkerConfigOrBuilder

hasNetworkConfig()

public boolean hasNetworkConfig()

Network configuration for the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.NetworkConfig network_config = 2;

Returns
Type Description
boolean

Whether the networkConfig field is set.

hasWorkerConfig()

public boolean hasWorkerConfig()

Machine configuration for the workers in the pool.

.google.devtools.cloudbuild.v1.PrivatePoolV1Config.WorkerConfig worker_config = 1;

Returns
Type Description
boolean

Whether the workerConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivatePoolV1Config.Builder newBuilderForType()
Returns
Type Description
PrivatePoolV1Config.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivatePoolV1Config.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivatePoolV1Config.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PrivatePoolV1Config.Builder toBuilder()
Returns
Type Description
PrivatePoolV1Config.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException