Class GetResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
studio.o7.octopus.sdk.v1.GetResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GetResponseOrBuilder
- Enclosing class:
GetResponse
public static final class GetResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
implements GetResponseOrBuilder
Protobuf type
octopus_sdk.v1.GetResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If no object is found for the given key, this field is setIf the key points only to one value it will be returnedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.EmptygetEmpty()If no object is found for the given key, this field is setcom.google.protobuf.Empty.BuilderIf no object is found for the given key, this field is setcom.google.protobuf.EmptyOrBuilderIf no object is found for the given key, this field is setIf the key points only to one value it will be returnedIf the key points only to one value it will be returnedIf the key points only to one value it will be returnedbooleanhasEmpty()If no object is found for the given key, this field is setbooleanIf the key points only to one value it will be returnedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEmpty(com.google.protobuf.Empty value) If no object is found for the given key, this field is setmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GetResponse other) mergeObject(Object value) If the key points only to one value it will be returnedsetEmpty(com.google.protobuf.Empty value) If no object is found for the given key, this field is setsetEmpty(com.google.protobuf.Empty.Builder builderForValue) If no object is found for the given key, this field is setIf the key points only to one value it will be returnedsetObject(Object.Builder builderForValue) If the key points only to one value it will be returnedMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetResponse.Builder>
-
mergeFrom
public GetResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetResponse.Builder>- Throws:
IOException
-
getResultCase
- Specified by:
getResultCasein interfaceGetResponseOrBuilder
-
clearResult
-
hasObject
public boolean hasObject()If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"];- Specified by:
hasObjectin interfaceGetResponseOrBuilder- Returns:
- Whether the object field is set.
-
getObject
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"];- Specified by:
getObjectin interfaceGetResponseOrBuilder- Returns:
- The object.
-
setObject
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"]; -
setObject
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"]; -
mergeObject
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"]; -
clearObject
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"]; -
getObjectBuilder
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"]; -
getObjectOrBuilder
If the key points only to one value it will be returned
.octopus_sdk.v1.Object object = 1 [json_name = "object"];- Specified by:
getObjectOrBuilderin interfaceGetResponseOrBuilder
-
hasEmpty
public boolean hasEmpty()If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"];- Specified by:
hasEmptyin interfaceGetResponseOrBuilder- Returns:
- Whether the empty field is set.
-
getEmpty
public com.google.protobuf.Empty getEmpty()If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"];- Specified by:
getEmptyin interfaceGetResponseOrBuilder- Returns:
- The empty.
-
setEmpty
If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"]; -
setEmpty
If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"]; -
mergeEmpty
If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"]; -
clearEmpty
If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"]; -
getEmptyBuilder
public com.google.protobuf.Empty.Builder getEmptyBuilder()If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"]; -
getEmptyOrBuilder
public com.google.protobuf.EmptyOrBuilder getEmptyOrBuilder()If no object is found for the given key, this field is set
.google.protobuf.Empty empty = 2 [json_name = "empty"];- Specified by:
getEmptyOrBuilderin interfaceGetResponseOrBuilder
-