@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { output.writeEnum(1, status_); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { output.writeEnum(1, status_); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { output.writeEnum(1, status_); } unknownFields.writeTo(output); }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatus(io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatus(io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatus(io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /**