public static final class ExampleProtos.CountResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExampleProtos.CountResponse.Builder> implements ExampleProtos.CountResponseOrBuilder
CountResponse
Modifier and Type | Method and Description |
---|---|
ExampleProtos.CountResponse |
build() |
ExampleProtos.CountResponse |
buildPartial() |
ExampleProtos.CountResponse.Builder |
clear() |
ExampleProtos.CountResponse.Builder |
clearCount()
required int64 count = 1 [default = 0]; |
ExampleProtos.CountResponse.Builder |
clone() |
long |
getCount()
required int64 count = 1 [default = 0]; |
ExampleProtos.CountResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCount()
required int64 count = 1 [default = 0]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExampleProtos.CountResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExampleProtos.CountResponse.Builder |
mergeFrom(ExampleProtos.CountResponse other) |
ExampleProtos.CountResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExampleProtos.CountResponse.Builder |
setCount(long value)
required int64 count = 1 [default = 0]; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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<ExampleProtos.CountResponse.Builder>
public ExampleProtos.CountResponse.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<ExampleProtos.CountResponse.Builder>
public ExampleProtos.CountResponse.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<ExampleProtos.CountResponse.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<ExampleProtos.CountResponse.Builder>
public ExampleProtos.CountResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ExampleProtos.CountResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ExampleProtos.CountResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ExampleProtos.CountResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ExampleProtos.CountResponse.Builder>
public ExampleProtos.CountResponse.Builder mergeFrom(ExampleProtos.CountResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ExampleProtos.CountResponse.Builder>
public ExampleProtos.CountResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<ExampleProtos.CountResponse.Builder>
IOException
public boolean hasCount()
required int64 count = 1 [default = 0];
hasCount
in interface ExampleProtos.CountResponseOrBuilder
public long getCount()
required int64 count = 1 [default = 0];
getCount
in interface ExampleProtos.CountResponseOrBuilder
public ExampleProtos.CountResponse.Builder setCount(long value)
required int64 count = 1 [default = 0];
public ExampleProtos.CountResponse.Builder clearCount()
required int64 count = 1 [default = 0];
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.