GrpcTransportOptions.toBuilder
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.google.cloud.grpc.GrpcTransportOptions.toBuilder(Showing top 2 results out of 315)

origin: GoogleCloudPlatform/google-cloud-java

@Test
public void testBaseEquals() {
 assertEquals(OPTIONS, OPTIONS_COPY);
 assertNotEquals(DEFAULT_OPTIONS, OPTIONS);
 GrpcTransportOptions options = OPTIONS.toBuilder()
   .setExecutorFactory(new DefaultExecutorFactory())
   .build();
 assertNotEquals(OPTIONS, options);
}
origin: GoogleCloudPlatform/google-cloud-java

@Test
public void testBaseHashCode() {
 assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode());
 assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode());
 GrpcTransportOptions options = OPTIONS.toBuilder()
   .setExecutorFactory(new DefaultExecutorFactory())
   .build();
 assertNotEquals(OPTIONS.hashCode(), options.hashCode());
}
com.google.cloud.grpcGrpcTransportOptionstoBuilder

Popular methods of GrpcTransportOptions

  • getExecutorFactory
    Returns a scheduled executor service provider.
  • newBuilder
  • setUpChannelProvider
    Returns a channel provider from the given default provider.
  • setUpCredentialsProvider
  • <init>
  • hashCode

Popular classes and methods

  • setScale (BigDecimal)
    Returns a new BigDecimal instance with the specified scale. If the new scale is greater than the old
  • compareTo (BigDecimal)
    Compares this BigDecimal with val. Returns one of the three values 1, 0, or -1. The method behaves a
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on *
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • JLabel (javax.swing)

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)