public static final class Common.Status.Builder extends com.google.protobuf.GeneratedMessage.Builder<Common.Status.Builder> implements Common.StatusOrBuilder
heron.proto.system.Status
Modifier and Type | Method and Description |
---|---|
Common.Status |
build() |
Common.Status |
buildPartial() |
Common.Status.Builder |
clear() |
Common.Status.Builder |
clearMessage()
optional string message = 2; |
Common.Status.Builder |
clearStatus()
required .heron.proto.system.StatusCode status = 1; |
Common.Status.Builder |
clone() |
Common.Status |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getMessage()
optional string message = 2; |
com.google.protobuf.ByteString |
getMessageBytes()
optional string message = 2; |
Common.StatusCode |
getStatus()
required .heron.proto.system.StatusCode status = 1; |
boolean |
hasMessage()
optional string message = 2; |
boolean |
hasStatus()
required .heron.proto.system.StatusCode status = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Common.Status.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Common.Status.Builder |
mergeFrom(Common.Status other) |
Common.Status.Builder |
mergeFrom(com.google.protobuf.Message other) |
Common.Status.Builder |
setMessage(java.lang.String value)
optional string message = 2; |
Common.Status.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 2; |
Common.Status.Builder |
setStatus(Common.StatusCode value)
required .heron.proto.system.StatusCode status = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Common.Status.Builder>
public Common.Status.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Common.Status.Builder>
public Common.Status.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Common.Status.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Common.Status.Builder>
public Common.Status getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Common.Status build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Common.Status buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Common.Status.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Common.Status.Builder>
public Common.Status.Builder mergeFrom(Common.Status other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Common.Status.Builder>
public Common.Status.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Common.Status.Builder>
java.io.IOException
public boolean hasStatus()
required .heron.proto.system.StatusCode status = 1;
hasStatus
in interface Common.StatusOrBuilder
public Common.StatusCode getStatus()
required .heron.proto.system.StatusCode status = 1;
getStatus
in interface Common.StatusOrBuilder
public Common.Status.Builder setStatus(Common.StatusCode value)
required .heron.proto.system.StatusCode status = 1;
public Common.Status.Builder clearStatus()
required .heron.proto.system.StatusCode status = 1;
public boolean hasMessage()
optional string message = 2;
hasMessage
in interface Common.StatusOrBuilder
public java.lang.String getMessage()
optional string message = 2;
getMessage
in interface Common.StatusOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
optional string message = 2;
getMessageBytes
in interface Common.StatusOrBuilder
public Common.Status.Builder setMessage(java.lang.String value)
optional string message = 2;
public Common.Status.Builder clearMessage()
optional string message = 2;
public Common.Status.Builder setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 2;