@java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.grpc.health.v1.HealthProto.HealthCheckResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.grpc.health.v1.HealthProto.HealthCheckResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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; } /**
@java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.grpc.health.v1.HealthProto.HealthCheckResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.grpc.health.v1.HealthProto.HealthCheckResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
@java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.grpc.health.v1.HealthProto.HealthCheckResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.grpc.health.v1.HealthProto.HealthCheckResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(io.grpc.health.v1.HealthProto.HealthCheckResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
public static Builder newBuilder(io.grpc.health.v1.HealthProto.HealthCheckResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
public static Builder newBuilder(io.grpc.health.v1.HealthProto.HealthCheckResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /**
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
@java.lang.Override public io.grpc.health.v1.HealthProto.HealthCheckResponse buildPartial() { io.grpc.health.v1.HealthProto.HealthCheckResponse result = new io.grpc.health.v1.HealthProto.HealthCheckResponse(this); result.status_ = status_; onBuilt(); return result; }
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override
/** * <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 clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override
@java.lang.Override public io.grpc.health.v1.HealthProto.HealthCheckResponse buildPartial() { io.grpc.health.v1.HealthProto.HealthCheckResponse result = new io.grpc.health.v1.HealthProto.HealthCheckResponse(this); result.status_ = status_; onBuilt(); return result; }
@java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.grpc.health.v1.HealthProto.HealthCheckResponse) { return mergeFrom((io.grpc.health.v1.HealthProto.HealthCheckResponse)other); } else { super.mergeFrom(other); return this; } }
private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {