Class StoragePoolShareSettings (1.109.0)

public final class StoragePoolShareSettings extends GeneratedMessage implements StoragePoolShareSettingsOrBuilder

Share settings for the storage pool.

Protobuf type google.cloud.compute.v1.StoragePoolShareSettings

Static Fields

PROJECT_MAP_FIELD_NUMBER

public static final int PROJECT_MAP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoragePoolShareSettings getDefaultInstance()
Returns
Type Description
StoragePoolShareSettings

getDescriptor()

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

newBuilder()

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

newBuilder(StoragePoolShareSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsProjectMap(String key)

public boolean containsProjectMap(String key)

A map of project id and project config.

map<string, .google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig> project_map = 134212406;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public StoragePoolShareSettings getDefaultInstanceForType()
Returns
Type Description
StoragePoolShareSettings

getParserForType()

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

getProjectMap() (deprecated)

public Map<String,StoragePoolShareSettingsProjectConfig> getProjectMap()

Use #getProjectMapMap() instead.

Returns
Type Description
Map<String,StoragePoolShareSettingsProjectConfig>

getProjectMapCount()

public int getProjectMapCount()

A map of project id and project config.

map<string, .google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig> project_map = 134212406;

Returns
Type Description
int

getProjectMapMap()

public Map<String,StoragePoolShareSettingsProjectConfig> getProjectMapMap()

A map of project id and project config.

map<string, .google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig> project_map = 134212406;

Returns
Type Description
Map<String,StoragePoolShareSettingsProjectConfig>

getProjectMapOrDefault(String key, StoragePoolShareSettingsProjectConfig defaultValue)

public StoragePoolShareSettingsProjectConfig getProjectMapOrDefault(String key, StoragePoolShareSettingsProjectConfig defaultValue)

A map of project id and project config.

map<string, .google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig> project_map = 134212406;

Parameters
Name Description
key String
defaultValue StoragePoolShareSettingsProjectConfig
Returns
Type Description
StoragePoolShareSettingsProjectConfig

getProjectMapOrThrow(String key)

public StoragePoolShareSettingsProjectConfig getProjectMapOrThrow(String key)

A map of project id and project config.

map<string, .google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig> project_map = 134212406;

Parameter
Name Description
key String
Returns
Type Description
StoragePoolShareSettingsProjectConfig

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected StoragePoolShareSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StoragePoolShareSettings.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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