Class GetVersionOperationMetadataSbomInfo.Builder (1.98.0)

public static final class GetVersionOperationMetadataSbomInfo.Builder extends GeneratedMessage.Builder<GetVersionOperationMetadataSbomInfo.Builder> implements GetVersionOperationMetadataSbomInfoOrBuilder

Protobuf type google.cloud.compute.v1.GetVersionOperationMetadataSbomInfo

Static Methods

getDescriptor()

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

Methods

build()

public GetVersionOperationMetadataSbomInfo build()
Returns
Type Description
GetVersionOperationMetadataSbomInfo

buildPartial()

public GetVersionOperationMetadataSbomInfo buildPartial()
Returns
Type Description
GetVersionOperationMetadataSbomInfo

clear()

public GetVersionOperationMetadataSbomInfo.Builder clear()
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder
Overrides

clearCurrentComponentVersions()

public GetVersionOperationMetadataSbomInfo.Builder clearCurrentComponentVersions()
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

clearTargetComponentVersions()

public GetVersionOperationMetadataSbomInfo.Builder clearTargetComponentVersions()
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

containsCurrentComponentVersions(String key)

public boolean containsCurrentComponentVersions(String key)

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsTargetComponentVersions(String key)

public boolean containsTargetComponentVersions(String key)

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCurrentComponentVersions() (deprecated)

public Map<String,String> getCurrentComponentVersions()
Returns
Type Description
Map<String,String>

getCurrentComponentVersionsCount()

public int getCurrentComponentVersionsCount()

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Returns
Type Description
int

getCurrentComponentVersionsMap()

public Map<String,String> getCurrentComponentVersionsMap()

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Returns
Type Description
Map<String,String>

getCurrentComponentVersionsOrDefault(String key, String defaultValue)

public String getCurrentComponentVersionsOrDefault(String key, String defaultValue)

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getCurrentComponentVersionsOrThrow(String key)

public String getCurrentComponentVersionsOrThrow(String key)

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Parameter
Name Description
key String
Returns
Type Description
String

getDefaultInstanceForType()

public GetVersionOperationMetadataSbomInfo getDefaultInstanceForType()
Returns
Type Description
GetVersionOperationMetadataSbomInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableCurrentComponentVersions() (deprecated)

public Map<String,String> getMutableCurrentComponentVersions()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableTargetComponentVersions() (deprecated)

public Map<String,String> getMutableTargetComponentVersions()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getTargetComponentVersions() (deprecated)

public Map<String,String> getTargetComponentVersions()
Returns
Type Description
Map<String,String>

getTargetComponentVersionsCount()

public int getTargetComponentVersionsCount()

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Returns
Type Description
int

getTargetComponentVersionsMap()

public Map<String,String> getTargetComponentVersionsMap()

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Returns
Type Description
Map<String,String>

getTargetComponentVersionsOrDefault(String key, String defaultValue)

public String getTargetComponentVersionsOrDefault(String key, String defaultValue)

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTargetComponentVersionsOrThrow(String key)

public String getTargetComponentVersionsOrThrow(String key)

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Parameter
Name Description
key String
Returns
Type Description
String

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetVersionOperationMetadataSbomInfo other)

public GetVersionOperationMetadataSbomInfo.Builder mergeFrom(GetVersionOperationMetadataSbomInfo other)
Parameter
Name Description
other GetVersionOperationMetadataSbomInfo
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetVersionOperationMetadataSbomInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetVersionOperationMetadataSbomInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder
Overrides

putAllCurrentComponentVersions(Map<String,String> values)

public GetVersionOperationMetadataSbomInfo.Builder putAllCurrentComponentVersions(Map<String,String> values)

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

putAllTargetComponentVersions(Map<String,String> values)

public GetVersionOperationMetadataSbomInfo.Builder putAllTargetComponentVersions(Map<String,String> values)

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

putCurrentComponentVersions(String key, String value)

public GetVersionOperationMetadataSbomInfo.Builder putCurrentComponentVersions(String key, String value)

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Parameters
Name Description
key String
value String
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

putTargetComponentVersions(String key, String value)

public GetVersionOperationMetadataSbomInfo.Builder putTargetComponentVersions(String key, String value)

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Parameters
Name Description
key String
value String
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

removeCurrentComponentVersions(String key)

public GetVersionOperationMetadataSbomInfo.Builder removeCurrentComponentVersions(String key)

SBOM versions currently applied to the resource. The key is the component name and the value is the version.

map<string, string> current_component_versions = 273325091;

Parameter
Name Description
key String
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder

removeTargetComponentVersions(String key)

public GetVersionOperationMetadataSbomInfo.Builder removeTargetComponentVersions(String key)

SBOM versions scheduled for the next maintenance. The key is the component name and the value is the version.

map<string, string> target_component_versions = 345997579;

Parameter
Name Description
key String
Returns
Type Description
GetVersionOperationMetadataSbomInfo.Builder