public final class MigrationWarning extends GeneratedMessage implements MigrationWarningOrBuilder
Represents migration resource warning information that can be used with
google.rpc.Status message. MigrationWarning is used to present the user with
warning information in migration operations.
Protobuf type google.cloud.vmmigration.v1.MigrationWarning
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACTION_ITEM_FIELD_NUMBER
public static final int ACTION_ITEM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HELP_LINKS_FIELD_NUMBER
public static final int HELP_LINKS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WARNING_MESSAGE_FIELD_NUMBER
public static final int WARNING_MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
WARNING_TIME_FIELD_NUMBER
public static final int WARNING_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MigrationWarning getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MigrationWarning.Builder newBuilder()
newBuilder(MigrationWarning prototype)
public static MigrationWarning.Builder newBuilder(MigrationWarning prototype)
public static MigrationWarning parseDelimitedFrom(InputStream input)
public static MigrationWarning parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MigrationWarning parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MigrationWarning parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom(CodedInputStream input)
public static MigrationWarning parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom(InputStream input)
public static MigrationWarning parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MigrationWarning parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationWarning parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MigrationWarning> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getActionItem()
public LocalizedMessage getActionItem()
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.LocalizedMessage |
The actionItem.
|
getActionItemOrBuilder()
public LocalizedMessageOrBuilder getActionItemOrBuilder()
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.LocalizedMessageOrBuilder |
|
getCode()
public MigrationWarning.WarningCode getCode()
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
getCodeValue()
public int getCodeValue()
The warning code.
.google.cloud.vmmigration.v1.MigrationWarning.WarningCode code = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public MigrationWarning getDefaultInstanceForType()
getHelpLinks(int index)
public Help.Link getHelpLinks(int index)
Output only. URL(s) pointing to additional information on handling the
current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
com.google.rpc.Help.Link |
|
getHelpLinksCount()
public int getHelpLinksCount()
Output only. URL(s) pointing to additional information on handling the
current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getHelpLinksList()
public List<Help.Link> getHelpLinksList()
Output only. URL(s) pointing to additional information on handling the
current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<com.google.rpc.Help.Link> |
|
getHelpLinksOrBuilder(int index)
public Help.LinkOrBuilder getHelpLinksOrBuilder(int index)
Output only. URL(s) pointing to additional information on handling the
current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
com.google.rpc.Help.LinkOrBuilder |
|
getHelpLinksOrBuilderList()
public List<? extends Help.LinkOrBuilder> getHelpLinksOrBuilderList()
Output only. URL(s) pointing to additional information on handling the
current warning.
repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.rpc.Help.LinkOrBuilder> |
|
getParserForType()
public Parser<MigrationWarning> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getWarningMessage()
public LocalizedMessage getWarningMessage()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.LocalizedMessage |
The warningMessage.
|
getWarningMessageOrBuilder()
public LocalizedMessageOrBuilder getWarningMessageOrBuilder()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.LocalizedMessageOrBuilder |
|
getWarningTime()
public Timestamp getWarningTime()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
| Returns |
| Type |
Description |
Timestamp |
The warningTime.
|
getWarningTimeOrBuilder()
public TimestampOrBuilder getWarningTimeOrBuilder()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
hasActionItem()
public boolean hasActionItem()
Output only. Suggested action for solving the warning.
.google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the actionItem field is set.
|
hasWarningMessage()
public boolean hasWarningMessage()
Output only. The localized warning message.
.google.rpc.LocalizedMessage warning_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the warningMessage field is set.
|
hasWarningTime()
public boolean hasWarningTime()
The time the warning occurred.
.google.protobuf.Timestamp warning_time = 5;
| Returns |
| Type |
Description |
boolean |
Whether the warningTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MigrationWarning.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MigrationWarning.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public MigrationWarning.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides