Package com.google.cloud.vmmigration.v1
Class AppliedLicense.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
- com.google.cloud.vmmigration.v1.AppliedLicense.Builder
-
- All Implemented Interfaces:
AppliedLicenseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AppliedLicense
public static final class AppliedLicense.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder> implements AppliedLicenseOrBuilder
AppliedLicense holds the license data returned by adaptation module report.
Protobuf typegoogle.cloud.vmmigration.v1.AppliedLicense
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppliedLicense.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppliedLicense
build()
AppliedLicense
buildPartial()
AppliedLicense.Builder
clear()
AppliedLicense.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AppliedLicense.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AppliedLicense.Builder
clearOsLicense()
The OS license returned from the adaptation module's report.AppliedLicense.Builder
clearType()
The license type that was used in OS adaptation.AppliedLicense.Builder
clone()
AppliedLicense
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getOsLicense()
The OS license returned from the adaptation module's report.com.google.protobuf.ByteString
getOsLicenseBytes()
The OS license returned from the adaptation module's report.AppliedLicense.Type
getType()
The license type that was used in OS adaptation.int
getTypeValue()
The license type that was used in OS adaptation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AppliedLicense.Builder
mergeFrom(AppliedLicense other)
AppliedLicense.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AppliedLicense.Builder
mergeFrom(com.google.protobuf.Message other)
AppliedLicense.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppliedLicense.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppliedLicense.Builder
setOsLicense(String value)
The OS license returned from the adaptation module's report.AppliedLicense.Builder
setOsLicenseBytes(com.google.protobuf.ByteString value)
The OS license returned from the adaptation module's report.AppliedLicense.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AppliedLicense.Builder
setType(AppliedLicense.Type value)
The license type that was used in OS adaptation.AppliedLicense.Builder
setTypeValue(int value)
The license type that was used in OS adaptation.AppliedLicense.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
clear
public AppliedLicense.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
getDefaultInstanceForType
public AppliedLicense getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppliedLicense build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppliedLicense buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AppliedLicense.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
setField
public AppliedLicense.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
clearField
public AppliedLicense.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
clearOneof
public AppliedLicense.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
setRepeatedField
public AppliedLicense.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
addRepeatedField
public AppliedLicense.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
mergeFrom
public AppliedLicense.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppliedLicense.Builder>
-
mergeFrom
public AppliedLicense.Builder mergeFrom(AppliedLicense other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
mergeFrom
public AppliedLicense.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppliedLicense.Builder>
- Throws:
IOException
-
getTypeValue
public int getTypeValue()
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
- Specified by:
getTypeValue
in interfaceAppliedLicenseOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public AppliedLicense.Builder setTypeValue(int value)
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public AppliedLicense.Type getType()
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
- Specified by:
getType
in interfaceAppliedLicenseOrBuilder
- Returns:
- The type.
-
setType
public AppliedLicense.Builder setType(AppliedLicense.Type value)
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public AppliedLicense.Builder clearType()
The license type that was used in OS adaptation.
.google.cloud.vmmigration.v1.AppliedLicense.Type type = 1;
- Returns:
- This builder for chaining.
-
getOsLicense
public String getOsLicense()
The OS license returned from the adaptation module's report.
string os_license = 2;
- Specified by:
getOsLicense
in interfaceAppliedLicenseOrBuilder
- Returns:
- The osLicense.
-
getOsLicenseBytes
public com.google.protobuf.ByteString getOsLicenseBytes()
The OS license returned from the adaptation module's report.
string os_license = 2;
- Specified by:
getOsLicenseBytes
in interfaceAppliedLicenseOrBuilder
- Returns:
- The bytes for osLicense.
-
setOsLicense
public AppliedLicense.Builder setOsLicense(String value)
The OS license returned from the adaptation module's report.
string os_license = 2;
- Parameters:
value
- The osLicense to set.- Returns:
- This builder for chaining.
-
clearOsLicense
public AppliedLicense.Builder clearOsLicense()
The OS license returned from the adaptation module's report.
string os_license = 2;
- Returns:
- This builder for chaining.
-
setOsLicenseBytes
public AppliedLicense.Builder setOsLicenseBytes(com.google.protobuf.ByteString value)
The OS license returned from the adaptation module's report.
string os_license = 2;
- Parameters:
value
- The bytes for osLicense to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AppliedLicense.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
mergeUnknownFields
public final AppliedLicense.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedLicense.Builder>
-
-