Package com.google.cloud.compute.v1
Interface ShareSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShareSettings
,ShareSettings.Builder
public interface ShareSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsProjectMap(String key)
A map of project id and project config.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.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.boolean
hasShareType()
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectMapCount
int getProjectMapCount()
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
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;
-
getProjectMap
@Deprecated Map<String,ShareSettingsProjectConfig> getProjectMap()
Deprecated.UsegetProjectMapMap()
instead.
-
getProjectMapMap
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;
-
getProjectMapOrDefault
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;
-
getProjectMapOrThrow
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;
-
hasShareType
boolean hasShareType()
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
optional string share_type = 359533466;
- Returns:
- Whether the shareType field is set.
-
getShareType
String getShareType()
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
optional string share_type = 359533466;
- Returns:
- The shareType.
-
getShareTypeBytes
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;
- Returns:
- The bytes for shareType.
-
-