Class PrivatePoolV1Config (3.18.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
TypeDescription
int

WORKER_CONFIG_FIELD_NUMBER

public static final int WORKER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivatePoolV1Config getDefaultInstance()
Returns
TypeDescription
PrivatePoolV1Config

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PrivatePoolV1Config.Builder newBuilder()
Returns
TypeDescription
PrivatePoolV1Config.Builder

newBuilder(PrivatePoolV1Config prototype)

public static PrivatePoolV1Config.Builder newBuilder(PrivatePoolV1Config prototype)
Parameter
NameDescription
prototypePrivatePoolV1Config
Returns
TypeDescription
PrivatePoolV1Config.Builder

parseDelimitedFrom(InputStream input)

public static PrivatePoolV1Config parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivatePoolV1Config parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivatePoolV1Config parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivatePoolV1Config parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivatePoolV1Config parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivatePoolV1Config parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivatePoolV1Config parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePoolV1Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivatePoolV1Config> parser()
Returns
TypeDescription
Parser<PrivatePoolV1Config>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivatePoolV1Config getDefaultInstanceForType()
Returns
TypeDescription
PrivatePoolV1Config

getNetworkConfig()

public PrivatePoolV1Config.NetworkConfig getNetworkConfig()

Network configuration for the pool.

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

Returns
TypeDescription
PrivatePoolV1Config.NetworkConfig

The networkConfig.

getNetworkConfigOrBuilder()

public PrivatePoolV1Config.NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Network configuration for the pool.

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

Returns
TypeDescription
PrivatePoolV1Config.NetworkConfigOrBuilder

getParserForType()

public Parser<PrivatePoolV1Config> getParserForType()
Returns
TypeDescription
Parser<PrivatePoolV1Config>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWorkerConfig()

public PrivatePoolV1Config.WorkerConfig getWorkerConfig()

Machine configuration for the workers in the pool.

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

Returns
TypeDescription
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
TypeDescription
PrivatePoolV1Config.WorkerConfigOrBuilder

hasNetworkConfig()

public boolean hasNetworkConfig()

Network configuration for the pool.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the workerConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivatePoolV1Config.Builder newBuilderForType()
Returns
TypeDescription
PrivatePoolV1Config.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivatePoolV1Config.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivatePoolV1Config.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivatePoolV1Config.Builder toBuilder()
Returns
TypeDescription
PrivatePoolV1Config.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException