Class StoragePoolShareSettingsProjectConfig (1.109.0)

public final class StoragePoolShareSettingsProjectConfig extends GeneratedMessage implements StoragePoolShareSettingsProjectConfigOrBuilder

Config for each project in the share settings.

Protobuf type google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > StoragePoolShareSettingsProjectConfig

Static Fields

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoragePoolShareSettingsProjectConfig getDefaultInstance()
Returns
Type Description
StoragePoolShareSettingsProjectConfig

getDescriptor()

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

newBuilder()

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

newBuilder(StoragePoolShareSettingsProjectConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StoragePoolShareSettingsProjectConfig getDefaultInstanceForType()
Returns
Type Description
StoragePoolShareSettingsProjectConfig

getParserForType()

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

getProjectId()

public String getProjectId()

The project ID, should be same as the key of this project config in the parent map.

optional string project_id = 177513473;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project ID, should be same as the key of this project config in the parent map.

optional string project_id = 177513473;

Returns
Type Description
ByteString

The bytes for projectId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasProjectId()

public boolean hasProjectId()

The project ID, should be same as the key of this project config in the parent map.

optional string project_id = 177513473;

Returns
Type Description
boolean

Whether the projectId field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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