public final class ShareSettings extends com.google.protobuf.GeneratedMessageV3 implements ShareSettingsOrBuilder
The share setting for reservations and sole tenancy node groups.Protobuf type
google.cloud.compute.v1.ShareSettings| Modifier and Type | Class and Description |
|---|---|
static class |
ShareSettings.Builder
The share setting for reservations and sole tenancy node groups.
|
static class |
ShareSettings.ShareType
Type of sharing for this shared-reservation
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
PROJECT_MAP_FIELD_NUMBER |
static int |
SHARE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProjectMap(String key)
A map of project id and project config.
|
boolean |
equals(Object obj) |
static ShareSettings |
getDefaultInstance() |
ShareSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ShareSettings> |
getParserForType() |
Map<String,ShareSettingsProjectConfig> |
getProjectMap()
Deprecated.
|
int |
getProjectMapCount()
A map of project id and project config.
|
Map<String,ShareSettingsProjectConfig> |
getProjectMapMap()
A map of project id and project config.
|
ShareSettingsProjectConfig |
getProjectMapOrDefault(String key,
ShareSettingsProjectConfig defaultValue)
A map of project id and project config.
|
ShareSettingsProjectConfig |
getProjectMapOrThrow(String key)
A map of project id and project config.
|
int |
getSerializedSize() |
String |
getShareType()
Type of sharing for this shared-reservation
Check the ShareType enum for the list of possible values.
|
com.google.protobuf.ByteString |
getShareTypeBytes()
Type of sharing for this shared-reservation
Check the ShareType enum for the list of possible values.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasShareType()
Type of sharing for this shared-reservation
Check the ShareType enum for the list of possible values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ShareSettings.Builder |
newBuilder() |
static ShareSettings.Builder |
newBuilder(ShareSettings prototype) |
ShareSettings.Builder |
newBuilderForType() |
protected ShareSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ShareSettings |
parseDelimitedFrom(InputStream input) |
static ShareSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShareSettings |
parseFrom(byte[] data) |
static ShareSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShareSettings |
parseFrom(ByteBuffer data) |
static ShareSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShareSettings |
parseFrom(com.google.protobuf.ByteString data) |
static ShareSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShareSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ShareSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShareSettings |
parseFrom(InputStream input) |
static ShareSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ShareSettings> |
parser() |
ShareSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECT_MAP_FIELD_NUMBER
public static final int SHARE_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getProjectMapCount()
ShareSettingsOrBuilderA map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;
getProjectMapCount in interface ShareSettingsOrBuilderpublic boolean containsProjectMap(String key)
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;
containsProjectMap in interface ShareSettingsOrBuilder@Deprecated public Map<String,ShareSettingsProjectConfig> getProjectMap()
getProjectMapMap() instead.getProjectMap in interface ShareSettingsOrBuilderpublic Map<String,ShareSettingsProjectConfig> getProjectMapMap()
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;
getProjectMapMap in interface ShareSettingsOrBuilderpublic ShareSettingsProjectConfig getProjectMapOrDefault(String key, ShareSettingsProjectConfig defaultValue)
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;
getProjectMapOrDefault in interface ShareSettingsOrBuilderpublic ShareSettingsProjectConfig getProjectMapOrThrow(String key)
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
map<string, .google.cloud.compute.v1.ShareSettingsProjectConfig> project_map = 134212406;
getProjectMapOrThrow in interface ShareSettingsOrBuilderpublic boolean hasShareType()
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
optional string share_type = 359533466;hasShareType in interface ShareSettingsOrBuilderpublic String getShareType()
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
optional string share_type = 359533466;getShareType in interface ShareSettingsOrBuilderpublic com.google.protobuf.ByteString getShareTypeBytes()
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
optional string share_type = 359533466;getShareTypeBytes in interface ShareSettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ShareSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShareSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShareSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShareSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShareSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShareSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShareSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static ShareSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ShareSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ShareSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ShareSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ShareSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ShareSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ShareSettings.Builder newBuilder()
public static ShareSettings.Builder newBuilder(ShareSettings prototype)
public ShareSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ShareSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ShareSettings getDefaultInstance()
public static com.google.protobuf.Parser<ShareSettings> parser()
public com.google.protobuf.Parser<ShareSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ShareSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.