All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.iap.v1.ApplicationSettings Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/iap/v1/service.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.iap.v1;

/**
 *
 *
 * 
 * Wrapper over application specific settings for IAP.
 * 
* * Protobuf type {@code google.cloud.iap.v1.ApplicationSettings} */ public final class ApplicationSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.iap.v1.ApplicationSettings) ApplicationSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use ApplicationSettings.newBuilder() to construct. private ApplicationSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApplicationSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplicationSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.iap.v1.Service .internal_static_google_cloud_iap_v1_ApplicationSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.iap.v1.Service .internal_static_google_cloud_iap_v1_ApplicationSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.iap.v1.ApplicationSettings.class, com.google.cloud.iap.v1.ApplicationSettings.Builder.class); } private int bitField0_; public static final int CSM_SETTINGS_FIELD_NUMBER = 1; private com.google.cloud.iap.v1.CsmSettings csmSettings_; /** * * *
   * Settings to configure IAP's behavior for a service mesh.
   * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; * * @return Whether the csmSettings field is set. */ @java.lang.Override public boolean hasCsmSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * Settings to configure IAP's behavior for a service mesh.
   * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; * * @return The csmSettings. */ @java.lang.Override public com.google.cloud.iap.v1.CsmSettings getCsmSettings() { return csmSettings_ == null ? com.google.cloud.iap.v1.CsmSettings.getDefaultInstance() : csmSettings_; } /** * * *
   * Settings to configure IAP's behavior for a service mesh.
   * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ @java.lang.Override public com.google.cloud.iap.v1.CsmSettingsOrBuilder getCsmSettingsOrBuilder() { return csmSettings_ == null ? com.google.cloud.iap.v1.CsmSettings.getDefaultInstance() : csmSettings_; } public static final int ACCESS_DENIED_PAGE_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.iap.v1.AccessDeniedPageSettings accessDeniedPageSettings_; /** * * *
   * Customization for Access Denied page.
   * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; * * @return Whether the accessDeniedPageSettings field is set. */ @java.lang.Override public boolean hasAccessDeniedPageSettings() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * Customization for Access Denied page.
   * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; * * @return The accessDeniedPageSettings. */ @java.lang.Override public com.google.cloud.iap.v1.AccessDeniedPageSettings getAccessDeniedPageSettings() { return accessDeniedPageSettings_ == null ? com.google.cloud.iap.v1.AccessDeniedPageSettings.getDefaultInstance() : accessDeniedPageSettings_; } /** * * *
   * Customization for Access Denied page.
   * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ @java.lang.Override public com.google.cloud.iap.v1.AccessDeniedPageSettingsOrBuilder getAccessDeniedPageSettingsOrBuilder() { return accessDeniedPageSettings_ == null ? com.google.cloud.iap.v1.AccessDeniedPageSettings.getDefaultInstance() : accessDeniedPageSettings_; } public static final int COOKIE_DOMAIN_FIELD_NUMBER = 3; private com.google.protobuf.StringValue cookieDomain_; /** * * *
   * The Domain value to set for cookies generated by IAP. This value is not
   * validated by the API, but will be ignored at runtime if invalid.
   * 
* * .google.protobuf.StringValue cookie_domain = 3; * * @return Whether the cookieDomain field is set. */ @java.lang.Override public boolean hasCookieDomain() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * The Domain value to set for cookies generated by IAP. This value is not
   * validated by the API, but will be ignored at runtime if invalid.
   * 
* * .google.protobuf.StringValue cookie_domain = 3; * * @return The cookieDomain. */ @java.lang.Override public com.google.protobuf.StringValue getCookieDomain() { return cookieDomain_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : cookieDomain_; } /** * * *
   * The Domain value to set for cookies generated by IAP. This value is not
   * validated by the API, but will be ignored at runtime if invalid.
   * 
* * .google.protobuf.StringValue cookie_domain = 3; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getCookieDomainOrBuilder() { return cookieDomain_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : cookieDomain_; } public static final int ATTRIBUTE_PROPAGATION_SETTINGS_FIELD_NUMBER = 4; private com.google.cloud.iap.v1.AttributePropagationSettings attributePropagationSettings_; /** * * *
   * Settings to configure attribute propagation.
   * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * * * @return Whether the attributePropagationSettings field is set. */ @java.lang.Override public boolean hasAttributePropagationSettings() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
   * Settings to configure attribute propagation.
   * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * * * @return The attributePropagationSettings. */ @java.lang.Override public com.google.cloud.iap.v1.AttributePropagationSettings getAttributePropagationSettings() { return attributePropagationSettings_ == null ? com.google.cloud.iap.v1.AttributePropagationSettings.getDefaultInstance() : attributePropagationSettings_; } /** * * *
   * Settings to configure attribute propagation.
   * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ @java.lang.Override public com.google.cloud.iap.v1.AttributePropagationSettingsOrBuilder getAttributePropagationSettingsOrBuilder() { return attributePropagationSettings_ == null ? com.google.cloud.iap.v1.AttributePropagationSettings.getDefaultInstance() : attributePropagationSettings_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCsmSettings()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getAccessDeniedPageSettings()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getCookieDomain()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getAttributePropagationSettings()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCsmSettings()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 2, getAccessDeniedPageSettings()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCookieDomain()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 4, getAttributePropagationSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.iap.v1.ApplicationSettings)) { return super.equals(obj); } com.google.cloud.iap.v1.ApplicationSettings other = (com.google.cloud.iap.v1.ApplicationSettings) obj; if (hasCsmSettings() != other.hasCsmSettings()) return false; if (hasCsmSettings()) { if (!getCsmSettings().equals(other.getCsmSettings())) return false; } if (hasAccessDeniedPageSettings() != other.hasAccessDeniedPageSettings()) return false; if (hasAccessDeniedPageSettings()) { if (!getAccessDeniedPageSettings().equals(other.getAccessDeniedPageSettings())) return false; } if (hasCookieDomain() != other.hasCookieDomain()) return false; if (hasCookieDomain()) { if (!getCookieDomain().equals(other.getCookieDomain())) return false; } if (hasAttributePropagationSettings() != other.hasAttributePropagationSettings()) return false; if (hasAttributePropagationSettings()) { if (!getAttributePropagationSettings().equals(other.getAttributePropagationSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCsmSettings()) { hash = (37 * hash) + CSM_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getCsmSettings().hashCode(); } if (hasAccessDeniedPageSettings()) { hash = (37 * hash) + ACCESS_DENIED_PAGE_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getAccessDeniedPageSettings().hashCode(); } if (hasCookieDomain()) { hash = (37 * hash) + COOKIE_DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getCookieDomain().hashCode(); } if (hasAttributePropagationSettings()) { hash = (37 * hash) + ATTRIBUTE_PROPAGATION_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getAttributePropagationSettings().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.iap.v1.ApplicationSettings parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.iap.v1.ApplicationSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.iap.v1.ApplicationSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.cloud.iap.v1.ApplicationSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
   * Wrapper over application specific settings for IAP.
   * 
* * Protobuf type {@code google.cloud.iap.v1.ApplicationSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.iap.v1.ApplicationSettings) com.google.cloud.iap.v1.ApplicationSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.iap.v1.Service .internal_static_google_cloud_iap_v1_ApplicationSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.iap.v1.Service .internal_static_google_cloud_iap_v1_ApplicationSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.iap.v1.ApplicationSettings.class, com.google.cloud.iap.v1.ApplicationSettings.Builder.class); } // Construct using com.google.cloud.iap.v1.ApplicationSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCsmSettingsFieldBuilder(); getAccessDeniedPageSettingsFieldBuilder(); getCookieDomainFieldBuilder(); getAttributePropagationSettingsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; csmSettings_ = null; if (csmSettingsBuilder_ != null) { csmSettingsBuilder_.dispose(); csmSettingsBuilder_ = null; } accessDeniedPageSettings_ = null; if (accessDeniedPageSettingsBuilder_ != null) { accessDeniedPageSettingsBuilder_.dispose(); accessDeniedPageSettingsBuilder_ = null; } cookieDomain_ = null; if (cookieDomainBuilder_ != null) { cookieDomainBuilder_.dispose(); cookieDomainBuilder_ = null; } attributePropagationSettings_ = null; if (attributePropagationSettingsBuilder_ != null) { attributePropagationSettingsBuilder_.dispose(); attributePropagationSettingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.cloud.iap.v1.Service .internal_static_google_cloud_iap_v1_ApplicationSettings_descriptor; } @java.lang.Override public com.google.cloud.iap.v1.ApplicationSettings getDefaultInstanceForType() { return com.google.cloud.iap.v1.ApplicationSettings.getDefaultInstance(); } @java.lang.Override public com.google.cloud.iap.v1.ApplicationSettings build() { com.google.cloud.iap.v1.ApplicationSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.iap.v1.ApplicationSettings buildPartial() { com.google.cloud.iap.v1.ApplicationSettings result = new com.google.cloud.iap.v1.ApplicationSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.cloud.iap.v1.ApplicationSettings result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.csmSettings_ = csmSettingsBuilder_ == null ? csmSettings_ : csmSettingsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.accessDeniedPageSettings_ = accessDeniedPageSettingsBuilder_ == null ? accessDeniedPageSettings_ : accessDeniedPageSettingsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.cookieDomain_ = cookieDomainBuilder_ == null ? cookieDomain_ : cookieDomainBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.attributePropagationSettings_ = attributePropagationSettingsBuilder_ == null ? attributePropagationSettings_ : attributePropagationSettingsBuilder_.build(); to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.iap.v1.ApplicationSettings) { return mergeFrom((com.google.cloud.iap.v1.ApplicationSettings) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.iap.v1.ApplicationSettings other) { if (other == com.google.cloud.iap.v1.ApplicationSettings.getDefaultInstance()) return this; if (other.hasCsmSettings()) { mergeCsmSettings(other.getCsmSettings()); } if (other.hasAccessDeniedPageSettings()) { mergeAccessDeniedPageSettings(other.getAccessDeniedPageSettings()); } if (other.hasCookieDomain()) { mergeCookieDomain(other.getCookieDomain()); } if (other.hasAttributePropagationSettings()) { mergeAttributePropagationSettings(other.getAttributePropagationSettings()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage(getCsmSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getAccessDeniedPageSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage(getCookieDomainFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getAttributePropagationSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.cloud.iap.v1.CsmSettings csmSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.CsmSettings, com.google.cloud.iap.v1.CsmSettings.Builder, com.google.cloud.iap.v1.CsmSettingsOrBuilder> csmSettingsBuilder_; /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; * * @return Whether the csmSettings field is set. */ public boolean hasCsmSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; * * @return The csmSettings. */ public com.google.cloud.iap.v1.CsmSettings getCsmSettings() { if (csmSettingsBuilder_ == null) { return csmSettings_ == null ? com.google.cloud.iap.v1.CsmSettings.getDefaultInstance() : csmSettings_; } else { return csmSettingsBuilder_.getMessage(); } } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ public Builder setCsmSettings(com.google.cloud.iap.v1.CsmSettings value) { if (csmSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } csmSettings_ = value; } else { csmSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ public Builder setCsmSettings(com.google.cloud.iap.v1.CsmSettings.Builder builderForValue) { if (csmSettingsBuilder_ == null) { csmSettings_ = builderForValue.build(); } else { csmSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ public Builder mergeCsmSettings(com.google.cloud.iap.v1.CsmSettings value) { if (csmSettingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && csmSettings_ != null && csmSettings_ != com.google.cloud.iap.v1.CsmSettings.getDefaultInstance()) { getCsmSettingsBuilder().mergeFrom(value); } else { csmSettings_ = value; } } else { csmSettingsBuilder_.mergeFrom(value); } if (csmSettings_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ public Builder clearCsmSettings() { bitField0_ = (bitField0_ & ~0x00000001); csmSettings_ = null; if (csmSettingsBuilder_ != null) { csmSettingsBuilder_.dispose(); csmSettingsBuilder_ = null; } onChanged(); return this; } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ public com.google.cloud.iap.v1.CsmSettings.Builder getCsmSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCsmSettingsFieldBuilder().getBuilder(); } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ public com.google.cloud.iap.v1.CsmSettingsOrBuilder getCsmSettingsOrBuilder() { if (csmSettingsBuilder_ != null) { return csmSettingsBuilder_.getMessageOrBuilder(); } else { return csmSettings_ == null ? com.google.cloud.iap.v1.CsmSettings.getDefaultInstance() : csmSettings_; } } /** * * *
     * Settings to configure IAP's behavior for a service mesh.
     * 
* * .google.cloud.iap.v1.CsmSettings csm_settings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.CsmSettings, com.google.cloud.iap.v1.CsmSettings.Builder, com.google.cloud.iap.v1.CsmSettingsOrBuilder> getCsmSettingsFieldBuilder() { if (csmSettingsBuilder_ == null) { csmSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.CsmSettings, com.google.cloud.iap.v1.CsmSettings.Builder, com.google.cloud.iap.v1.CsmSettingsOrBuilder>( getCsmSettings(), getParentForChildren(), isClean()); csmSettings_ = null; } return csmSettingsBuilder_; } private com.google.cloud.iap.v1.AccessDeniedPageSettings accessDeniedPageSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.AccessDeniedPageSettings, com.google.cloud.iap.v1.AccessDeniedPageSettings.Builder, com.google.cloud.iap.v1.AccessDeniedPageSettingsOrBuilder> accessDeniedPageSettingsBuilder_; /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; * * @return Whether the accessDeniedPageSettings field is set. */ public boolean hasAccessDeniedPageSettings() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; * * @return The accessDeniedPageSettings. */ public com.google.cloud.iap.v1.AccessDeniedPageSettings getAccessDeniedPageSettings() { if (accessDeniedPageSettingsBuilder_ == null) { return accessDeniedPageSettings_ == null ? com.google.cloud.iap.v1.AccessDeniedPageSettings.getDefaultInstance() : accessDeniedPageSettings_; } else { return accessDeniedPageSettingsBuilder_.getMessage(); } } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ public Builder setAccessDeniedPageSettings( com.google.cloud.iap.v1.AccessDeniedPageSettings value) { if (accessDeniedPageSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } accessDeniedPageSettings_ = value; } else { accessDeniedPageSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ public Builder setAccessDeniedPageSettings( com.google.cloud.iap.v1.AccessDeniedPageSettings.Builder builderForValue) { if (accessDeniedPageSettingsBuilder_ == null) { accessDeniedPageSettings_ = builderForValue.build(); } else { accessDeniedPageSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ public Builder mergeAccessDeniedPageSettings( com.google.cloud.iap.v1.AccessDeniedPageSettings value) { if (accessDeniedPageSettingsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && accessDeniedPageSettings_ != null && accessDeniedPageSettings_ != com.google.cloud.iap.v1.AccessDeniedPageSettings.getDefaultInstance()) { getAccessDeniedPageSettingsBuilder().mergeFrom(value); } else { accessDeniedPageSettings_ = value; } } else { accessDeniedPageSettingsBuilder_.mergeFrom(value); } if (accessDeniedPageSettings_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ public Builder clearAccessDeniedPageSettings() { bitField0_ = (bitField0_ & ~0x00000002); accessDeniedPageSettings_ = null; if (accessDeniedPageSettingsBuilder_ != null) { accessDeniedPageSettingsBuilder_.dispose(); accessDeniedPageSettingsBuilder_ = null; } onChanged(); return this; } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ public com.google.cloud.iap.v1.AccessDeniedPageSettings.Builder getAccessDeniedPageSettingsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAccessDeniedPageSettingsFieldBuilder().getBuilder(); } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ public com.google.cloud.iap.v1.AccessDeniedPageSettingsOrBuilder getAccessDeniedPageSettingsOrBuilder() { if (accessDeniedPageSettingsBuilder_ != null) { return accessDeniedPageSettingsBuilder_.getMessageOrBuilder(); } else { return accessDeniedPageSettings_ == null ? com.google.cloud.iap.v1.AccessDeniedPageSettings.getDefaultInstance() : accessDeniedPageSettings_; } } /** * * *
     * Customization for Access Denied page.
     * 
* * .google.cloud.iap.v1.AccessDeniedPageSettings access_denied_page_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.AccessDeniedPageSettings, com.google.cloud.iap.v1.AccessDeniedPageSettings.Builder, com.google.cloud.iap.v1.AccessDeniedPageSettingsOrBuilder> getAccessDeniedPageSettingsFieldBuilder() { if (accessDeniedPageSettingsBuilder_ == null) { accessDeniedPageSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.AccessDeniedPageSettings, com.google.cloud.iap.v1.AccessDeniedPageSettings.Builder, com.google.cloud.iap.v1.AccessDeniedPageSettingsOrBuilder>( getAccessDeniedPageSettings(), getParentForChildren(), isClean()); accessDeniedPageSettings_ = null; } return accessDeniedPageSettingsBuilder_; } private com.google.protobuf.StringValue cookieDomain_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> cookieDomainBuilder_; /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; * * @return Whether the cookieDomain field is set. */ public boolean hasCookieDomain() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; * * @return The cookieDomain. */ public com.google.protobuf.StringValue getCookieDomain() { if (cookieDomainBuilder_ == null) { return cookieDomain_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : cookieDomain_; } else { return cookieDomainBuilder_.getMessage(); } } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ public Builder setCookieDomain(com.google.protobuf.StringValue value) { if (cookieDomainBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cookieDomain_ = value; } else { cookieDomainBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ public Builder setCookieDomain(com.google.protobuf.StringValue.Builder builderForValue) { if (cookieDomainBuilder_ == null) { cookieDomain_ = builderForValue.build(); } else { cookieDomainBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ public Builder mergeCookieDomain(com.google.protobuf.StringValue value) { if (cookieDomainBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && cookieDomain_ != null && cookieDomain_ != com.google.protobuf.StringValue.getDefaultInstance()) { getCookieDomainBuilder().mergeFrom(value); } else { cookieDomain_ = value; } } else { cookieDomainBuilder_.mergeFrom(value); } if (cookieDomain_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ public Builder clearCookieDomain() { bitField0_ = (bitField0_ & ~0x00000004); cookieDomain_ = null; if (cookieDomainBuilder_ != null) { cookieDomainBuilder_.dispose(); cookieDomainBuilder_ = null; } onChanged(); return this; } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ public com.google.protobuf.StringValue.Builder getCookieDomainBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCookieDomainFieldBuilder().getBuilder(); } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ public com.google.protobuf.StringValueOrBuilder getCookieDomainOrBuilder() { if (cookieDomainBuilder_ != null) { return cookieDomainBuilder_.getMessageOrBuilder(); } else { return cookieDomain_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : cookieDomain_; } } /** * * *
     * The Domain value to set for cookies generated by IAP. This value is not
     * validated by the API, but will be ignored at runtime if invalid.
     * 
* * .google.protobuf.StringValue cookie_domain = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getCookieDomainFieldBuilder() { if (cookieDomainBuilder_ == null) { cookieDomainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getCookieDomain(), getParentForChildren(), isClean()); cookieDomain_ = null; } return cookieDomainBuilder_; } private com.google.cloud.iap.v1.AttributePropagationSettings attributePropagationSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.AttributePropagationSettings, com.google.cloud.iap.v1.AttributePropagationSettings.Builder, com.google.cloud.iap.v1.AttributePropagationSettingsOrBuilder> attributePropagationSettingsBuilder_; /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * * * @return Whether the attributePropagationSettings field is set. */ public boolean hasAttributePropagationSettings() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * * * @return The attributePropagationSettings. */ public com.google.cloud.iap.v1.AttributePropagationSettings getAttributePropagationSettings() { if (attributePropagationSettingsBuilder_ == null) { return attributePropagationSettings_ == null ? com.google.cloud.iap.v1.AttributePropagationSettings.getDefaultInstance() : attributePropagationSettings_; } else { return attributePropagationSettingsBuilder_.getMessage(); } } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ public Builder setAttributePropagationSettings( com.google.cloud.iap.v1.AttributePropagationSettings value) { if (attributePropagationSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributePropagationSettings_ = value; } else { attributePropagationSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ public Builder setAttributePropagationSettings( com.google.cloud.iap.v1.AttributePropagationSettings.Builder builderForValue) { if (attributePropagationSettingsBuilder_ == null) { attributePropagationSettings_ = builderForValue.build(); } else { attributePropagationSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ public Builder mergeAttributePropagationSettings( com.google.cloud.iap.v1.AttributePropagationSettings value) { if (attributePropagationSettingsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && attributePropagationSettings_ != null && attributePropagationSettings_ != com.google.cloud.iap.v1.AttributePropagationSettings.getDefaultInstance()) { getAttributePropagationSettingsBuilder().mergeFrom(value); } else { attributePropagationSettings_ = value; } } else { attributePropagationSettingsBuilder_.mergeFrom(value); } if (attributePropagationSettings_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ public Builder clearAttributePropagationSettings() { bitField0_ = (bitField0_ & ~0x00000008); attributePropagationSettings_ = null; if (attributePropagationSettingsBuilder_ != null) { attributePropagationSettingsBuilder_.dispose(); attributePropagationSettingsBuilder_ = null; } onChanged(); return this; } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ public com.google.cloud.iap.v1.AttributePropagationSettings.Builder getAttributePropagationSettingsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAttributePropagationSettingsFieldBuilder().getBuilder(); } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ public com.google.cloud.iap.v1.AttributePropagationSettingsOrBuilder getAttributePropagationSettingsOrBuilder() { if (attributePropagationSettingsBuilder_ != null) { return attributePropagationSettingsBuilder_.getMessageOrBuilder(); } else { return attributePropagationSettings_ == null ? com.google.cloud.iap.v1.AttributePropagationSettings.getDefaultInstance() : attributePropagationSettings_; } } /** * * *
     * Settings to configure attribute propagation.
     * 
* * .google.cloud.iap.v1.AttributePropagationSettings attribute_propagation_settings = 4; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.AttributePropagationSettings, com.google.cloud.iap.v1.AttributePropagationSettings.Builder, com.google.cloud.iap.v1.AttributePropagationSettingsOrBuilder> getAttributePropagationSettingsFieldBuilder() { if (attributePropagationSettingsBuilder_ == null) { attributePropagationSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.iap.v1.AttributePropagationSettings, com.google.cloud.iap.v1.AttributePropagationSettings.Builder, com.google.cloud.iap.v1.AttributePropagationSettingsOrBuilder>( getAttributePropagationSettings(), getParentForChildren(), isClean()); attributePropagationSettings_ = null; } return attributePropagationSettingsBuilder_; } @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.cloud.iap.v1.ApplicationSettings) } // @@protoc_insertion_point(class_scope:google.cloud.iap.v1.ApplicationSettings) private static final com.google.cloud.iap.v1.ApplicationSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.iap.v1.ApplicationSettings(); } public static com.google.cloud.iap.v1.ApplicationSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ApplicationSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.cloud.iap.v1.ApplicationSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy