public static final class AdaptationModifier.Builder extends GeneratedMessage.Builder<AdaptationModifier.Builder> implements AdaptationModifierOrBuilderAdaptationModifier a modifier to be used for configuration of the OS adaptation process.
Protobuf type google.cloud.vmmigration.v1.AdaptationModifier
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AdaptationModifier.BuilderImplements
AdaptationModifierOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AdaptationModifier build()| Returns | |
|---|---|
| Type | Description |
AdaptationModifier |
|
buildPartial()
public AdaptationModifier buildPartial()| Returns | |
|---|---|
| Type | Description |
AdaptationModifier |
|
clear()
public AdaptationModifier.Builder clear()| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
|
clearModifier()
public AdaptationModifier.Builder clearModifier()Optional. The modifier name.
string modifier = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
This builder for chaining. |
clearValue()
public AdaptationModifier.Builder clearValue()Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AdaptationModifier getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdaptationModifier |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getModifier()
public String getModifier()Optional. The modifier name.
string modifier = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The modifier. |
getModifierBytes()
public ByteString getModifierBytes()Optional. The modifier name.
string modifier = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for modifier. |
getValue()
public String getValue()Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AdaptationModifier other)
public AdaptationModifier.Builder mergeFrom(AdaptationModifier other)| Parameter | |
|---|---|
| Name | Description |
other |
AdaptationModifier |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdaptationModifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AdaptationModifier.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
|
setModifier(String value)
public AdaptationModifier.Builder setModifier(String value)Optional. The modifier name.
string modifier = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe modifier to set. |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
This builder for chaining. |
setModifierBytes(ByteString value)
public AdaptationModifier.Builder setModifierBytes(ByteString value)Optional. The modifier name.
string modifier = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for modifier to set. |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
This builder for chaining. |
setValue(String value)
public AdaptationModifier.Builder setValue(String value)Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public AdaptationModifier.Builder setValueBytes(ByteString value)Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
AdaptationModifier.Builder |
This builder for chaining. |