Ejemplo n.º 1
0
 public com.google.rpc.RetryInfo build() {
   com.google.rpc.RetryInfo result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
Ejemplo n.º 2
0
 public Builder mergeFrom(com.google.rpc.RetryInfo other) {
   if (other == com.google.rpc.RetryInfo.getDefaultInstance()) return this;
   if (other.hasRetryDelay()) {
     mergeRetryDelay(other.getRetryDelay());
   }
   onChanged();
   return this;
 }
Ejemplo n.º 3
0
 public com.google.rpc.RetryInfo buildPartial() {
   com.google.rpc.RetryInfo result = new com.google.rpc.RetryInfo(this);
   if (retryDelayBuilder_ == null) {
     result.retryDelay_ = retryDelay_;
   } else {
     result.retryDelay_ = retryDelayBuilder_.build();
   }
   onBuilt();
   return result;
 }
Ejemplo n.º 4
0
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.rpc.RetryInfo)) {
      return super.equals(obj);
    }
    com.google.rpc.RetryInfo other = (com.google.rpc.RetryInfo) obj;

    boolean result = true;
    result = result && (hasRetryDelay() == other.hasRetryDelay());
    if (hasRetryDelay()) {
      result = result && getRetryDelay().equals(other.getRetryDelay());
    }
    return result;
  }
Ejemplo n.º 5
0
 public com.google.rpc.RetryInfo getDefaultInstanceForType() {
   return com.google.rpc.RetryInfo.getDefaultInstance();
 }