public final class AppliedLicense extends GeneratedMessageV3 implements AppliedLicenseOrBuilder
AppliedLicense holds the license data returned by adaptation module report.
Protobuf type google.cloud.vmmigration.v1.AppliedLicense
Static Fields
OS_LICENSE_FIELD_NUMBER
public static final int OS_LICENSE_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AppliedLicense getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AppliedLicense.Builder newBuilder()
Returns
newBuilder(AppliedLicense prototype)
public static AppliedLicense.Builder newBuilder(AppliedLicense prototype)
Parameter
Returns
public static AppliedLicense parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AppliedLicense parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AppliedLicense parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppliedLicense parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AppliedLicense parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppliedLicense parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AppliedLicense parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AppliedLicense parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AppliedLicense parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AppliedLicense parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AppliedLicense parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppliedLicense parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AppliedLicense> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AppliedLicense getDefaultInstanceForType()
Returns
getOsLicense()
public String getOsLicense()
The OS license returned from the adaptation module's report.
string os_license = 2;
Returns
Type | Description |
String | The osLicense.
|
getOsLicenseBytes()
public ByteString getOsLicenseBytes()
The OS license returned from the adaptation module's report.
string os_license = 2;
Returns
getParserForType()
public Parser<AppliedLicense> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public AppliedLicense.Type getType()
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
Returns
getTypeValue()
public int getTypeValue()
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AppliedLicense.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppliedLicense.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AppliedLicense.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions