ApiIssuerConfigs { public boolean isSpecified() { return !this.equals(UNSPECIFIED); } private  ApiIssuerConfigs(Builder builder); ImmutableMap<String, IssuerConfig> asMap(); boolean hasIssuer(String issuer); IssuerConfig getIssuer(String issuer); boolean isSpecified(); ApiIssuerConfigs withGoogleIdToken(); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder(); static final IssuerConfig GOOGLE_ID_TOKEN_ISSUER; static final IssuerConfig GOOGLE_ID_TOKEN_ISSUER_ALT; static final ApiIssuerConfigs UNSPECIFIED; static final ApiIssuerConfigs EMPTY; }
@Test public void isSpecified() { assertThat(ApiIssuerConfigs.builder().build().isSpecified()).isTrue(); assertThat(ApiIssuerConfigs.UNSPECIFIED.isSpecified()).isFalse(); }