public static final class ExampleProtos.CountResponse.Builder extends <any> 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(com.google.protobuf.Message other) |
ExampleProtos.CountResponse.Builder |
setCount(long value)
required int64 count = 1 [default = 0]; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public ExampleProtos.CountResponse.Builder clear()
public ExampleProtos.CountResponse.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public ExampleProtos.CountResponse getDefaultInstanceForType()
public ExampleProtos.CountResponse build()
public ExampleProtos.CountResponse buildPartial()
public ExampleProtos.CountResponse.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public ExampleProtos.CountResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
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];