/** * <code>string greeting = 1;</code> */ public Builder clearGreeting() { greeting_ = getDefaultInstance().getGreeting(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + GREETING_FIELD_NUMBER; hash = (53 * hash) + getGreeting().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getGreetingBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, greeting_); } unknownFields.writeTo(output); }
break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public com.example.grpc.HelloResponse getDefaultInstanceForType() { return com.example.grpc.HelloResponse.getDefaultInstance(); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.example.grpc.HelloResponse prototype) {
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.example.grpc.HelloResponse)) { return super.equals(obj); } com.example.grpc.HelloResponse other = (com.example.grpc.HelloResponse) obj; boolean result = true; result = result && getGreeting() .equals(other.getGreeting()); result = result && unknownFields.equals(other.unknownFields); return result; }
public com.example.grpc.HelloResponse build() { com.example.grpc.HelloResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public com.example.grpc.HelloResponse buildPartial() { com.example.grpc.HelloResponse result = new com.example.grpc.HelloResponse(this); result.greeting_ = greeting_; onBuilt(); return result; }
break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public com.example.grpc.HelloResponse getDefaultInstanceForType() { return com.example.grpc.HelloResponse.getDefaultInstance(); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.example.grpc.HelloResponse prototype) {
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.example.grpc.HelloResponse)) { return super.equals(obj); } com.example.grpc.HelloResponse other = (com.example.grpc.HelloResponse) obj; boolean result = true; result = result && getGreeting() .equals(other.getGreeting()); result = result && unknownFields.equals(other.unknownFields); return result; }
public com.example.grpc.HelloResponse build() { com.example.grpc.HelloResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public com.example.grpc.HelloResponse buildPartial() { com.example.grpc.HelloResponse result = new com.example.grpc.HelloResponse(this); result.greeting_ = greeting_; onBuilt(); return result; }
/** * <code>string greeting = 1;</code> */ public Builder clearGreeting() { greeting_ = getDefaultInstance().getGreeting(); onChanged(); return this; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + GREETING_FIELD_NUMBER; hash = (53 * hash) + getGreeting().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();