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

yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yandex/cloud/organizationmanager/v1/saml/federation_service.proto

package yandex.cloud.api.organizationmanager.v1.saml;

public final class FederationServiceOuterClass {
  private FederationServiceOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface GetFederationRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.GetFederationRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * ID of the federation to return.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation to return.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.GetFederationRequest} */ public static final class GetFederationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.GetFederationRequest) GetFederationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetFederationRequest.newBuilder() to construct. private GetFederationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetFederationRequest() { federationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFederationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetFederationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation to return.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation to return.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.GetFederationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.GetFederationRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest(this); result.federationId_ = federationId_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation to return.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation to return.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation to return.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation to return.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation to return.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.GetFederationRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.GetFederationRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetFederationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetFederationRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.GetFederationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFederationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the organization to list federations in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The organizationId. */ java.lang.String getOrganizationId(); /** *
     * ID of the organization to list federations in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for organizationId. */ com.google.protobuf.ByteString getOrganizationIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size],
     * the service returns a [ListFederationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * Default value: 100
     * 
* * int64 page_size = 3 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest} */ public static final class ListFederationsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest) ListFederationsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListFederationsRequest.newBuilder() to construct. private ListFederationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFederationsRequest() { organizationId_ = ""; pageToken_ = ""; filter_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFederationsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFederationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 24: { pageSize_ = input.readInt64(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); organizationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.Builder.class); } public static final int ORGANIZATION_ID_FIELD_NUMBER = 6; private volatile java.lang.Object organizationId_; /** *
     * ID of the organization to list federations in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The organizationId. */ @java.lang.Override public java.lang.String getOrganizationId() { java.lang.Object ref = organizationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organizationId_ = s; return s; } } /** *
     * ID of the organization to list federations in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for organizationId. */ @java.lang.Override public com.google.protobuf.ByteString getOrganizationIdBytes() { java.lang.Object ref = organizationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); organizationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size],
     * the service returns a [ListFederationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * Default value: 100
     * 
* * int64 page_size = 3 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (pageSize_ != 0L) { output.writeInt64(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(organizationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, organizationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(organizationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, organizationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest) obj; if (!getOrganizationId() .equals(other.getOrganizationId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getFilter() .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ORGANIZATION_ID_FIELD_NUMBER; hash = (53 * hash) + getOrganizationId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); organizationId_ = ""; pageSize_ = 0L; pageToken_ = ""; filter_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest(this); result.organizationId_ = organizationId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest.getDefaultInstance()) return this; if (!other.getOrganizationId().isEmpty()) { organizationId_ = other.organizationId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object organizationId_ = ""; /** *
       * ID of the organization to list federations in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The organizationId. */ public java.lang.String getOrganizationId() { java.lang.Object ref = organizationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organizationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the organization to list federations in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for organizationId. */ public com.google.protobuf.ByteString getOrganizationIdBytes() { java.lang.Object ref = organizationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); organizationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the organization to list federations in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The organizationId to set. * @return This builder for chaining. */ public Builder setOrganizationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } organizationId_ = value; onChanged(); return this; } /** *
       * ID of the organization to list federations in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearOrganizationId() { organizationId_ = getDefaultInstance().getOrganizationId(); onChanged(); return this; } /** *
       * ID of the organization to list federations in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for organizationId to set. * @return This builder for chaining. */ public Builder setOrganizationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); organizationId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size],
       * the service returns a [ListFederationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100
       * 
* * int64 page_size = 3 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size],
       * the service returns a [ListFederationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100
       * 
* * int64 page_size = 3 [(.yandex.cloud.value) = "0-1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size],
       * the service returns a [ListFederationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100
       * 
* * int64 page_size = 3 [(.yandex.cloud.value) = "0-1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 4 [(.yandex.cloud.length) = "<=2000"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @return This builder for chaining. */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [Federation.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 5 [(.yandex.cloud.length) = "<=1000"]; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.ListFederationsRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFederationsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFederationsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFederationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ java.util.List getFederationsList(); /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation getFederations(int index); /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ int getFederationsCount(); /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ java.util.List getFederationsOrBuilderList(); /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationOrBuilder getFederationsOrBuilder( int index); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationsRequest.page_size], use
     * the [next_page_token] as the value
     * for the [ListFederationsRequest.page_token] query parameter
     * in the next list request. Each subsequent list request will have its own
     * [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationsRequest.page_size], use
     * the [next_page_token] as the value
     * for the [ListFederationsRequest.page_token] query parameter
     * in the next list request. Each subsequent list request will have its own
     * [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse} */ public static final class ListFederationsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse) ListFederationsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListFederationsResponse.newBuilder() to construct. private ListFederationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFederationsResponse() { federations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFederationsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFederationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { federations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } federations_.add( input.readMessage(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { federations_ = java.util.Collections.unmodifiableList(federations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.Builder.class); } public static final int FEDERATIONS_FIELD_NUMBER = 1; private java.util.List federations_; /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ @java.lang.Override public java.util.List getFederationsList() { return federations_; } /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ @java.lang.Override public java.util.List getFederationsOrBuilderList() { return federations_; } /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ @java.lang.Override public int getFederationsCount() { return federations_.size(); } /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation getFederations(int index) { return federations_.get(index); } /** *
     * List of federations.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationOrBuilder getFederationsOrBuilder( int index) { return federations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationsRequest.page_size], use
     * the [next_page_token] as the value
     * for the [ListFederationsRequest.page_token] query parameter
     * in the next list request. Each subsequent list request will have its own
     * [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationsRequest.page_size], use
     * the [next_page_token] as the value
     * for the [ListFederationsRequest.page_token] query parameter
     * in the next list request. Each subsequent list request will have its own
     * [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 { for (int i = 0; i < federations_.size(); i++) { output.writeMessage(1, federations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < federations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, federations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse) obj; if (!getFederationsList() .equals(other.getFederationsList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFederationsCount() > 0) { hash = (37 * hash) + FEDERATIONS_FIELD_NUMBER; hash = (53 * hash) + getFederationsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFederationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (federationsBuilder_ == null) { federations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { federationsBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse(this); int from_bitField0_ = bitField0_; if (federationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { federations_ = java.util.Collections.unmodifiableList(federations_); bitField0_ = (bitField0_ & ~0x00000001); } result.federations_ = federations_; } else { result.federations_ = federationsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse.getDefaultInstance()) return this; if (federationsBuilder_ == null) { if (!other.federations_.isEmpty()) { if (federations_.isEmpty()) { federations_ = other.federations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFederationsIsMutable(); federations_.addAll(other.federations_); } onChanged(); } } else { if (!other.federations_.isEmpty()) { if (federationsBuilder_.isEmpty()) { federationsBuilder_.dispose(); federationsBuilder_ = null; federations_ = other.federations_; bitField0_ = (bitField0_ & ~0x00000001); federationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFederationsFieldBuilder() : null; } else { federationsBuilder_.addAllMessages(other.federations_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List federations_ = java.util.Collections.emptyList(); private void ensureFederationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { federations_ = new java.util.ArrayList(federations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationOrBuilder> federationsBuilder_; /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public java.util.List getFederationsList() { if (federationsBuilder_ == null) { return java.util.Collections.unmodifiableList(federations_); } else { return federationsBuilder_.getMessageList(); } } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public int getFederationsCount() { if (federationsBuilder_ == null) { return federations_.size(); } else { return federationsBuilder_.getCount(); } } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation getFederations(int index) { if (federationsBuilder_ == null) { return federations_.get(index); } else { return federationsBuilder_.getMessage(index); } } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder setFederations( int index, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation value) { if (federationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFederationsIsMutable(); federations_.set(index, value); onChanged(); } else { federationsBuilder_.setMessage(index, value); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder setFederations( int index, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder builderForValue) { if (federationsBuilder_ == null) { ensureFederationsIsMutable(); federations_.set(index, builderForValue.build()); onChanged(); } else { federationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder addFederations(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation value) { if (federationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFederationsIsMutable(); federations_.add(value); onChanged(); } else { federationsBuilder_.addMessage(value); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder addFederations( int index, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation value) { if (federationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFederationsIsMutable(); federations_.add(index, value); onChanged(); } else { federationsBuilder_.addMessage(index, value); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder addFederations( yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder builderForValue) { if (federationsBuilder_ == null) { ensureFederationsIsMutable(); federations_.add(builderForValue.build()); onChanged(); } else { federationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder addFederations( int index, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder builderForValue) { if (federationsBuilder_ == null) { ensureFederationsIsMutable(); federations_.add(index, builderForValue.build()); onChanged(); } else { federationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder addAllFederations( java.lang.Iterable values) { if (federationsBuilder_ == null) { ensureFederationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, federations_); onChanged(); } else { federationsBuilder_.addAllMessages(values); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder clearFederations() { if (federationsBuilder_ == null) { federations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { federationsBuilder_.clear(); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public Builder removeFederations(int index) { if (federationsBuilder_ == null) { ensureFederationsIsMutable(); federations_.remove(index); onChanged(); } else { federationsBuilder_.remove(index); } return this; } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder getFederationsBuilder( int index) { return getFederationsFieldBuilder().getBuilder(index); } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationOrBuilder getFederationsOrBuilder( int index) { if (federationsBuilder_ == null) { return federations_.get(index); } else { return federationsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public java.util.List getFederationsOrBuilderList() { if (federationsBuilder_ != null) { return federationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(federations_); } } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder addFederationsBuilder() { return getFederationsFieldBuilder().addBuilder( yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.getDefaultInstance()); } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder addFederationsBuilder( int index) { return getFederationsFieldBuilder().addBuilder( index, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.getDefaultInstance()); } /** *
       * List of federations.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.saml.Federation federations = 1; */ public java.util.List getFederationsBuilderList() { return getFederationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationOrBuilder> getFederationsFieldBuilder() { if (federationsBuilder_ == null) { federationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.Federation.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationOrBuilder>( federations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); federations_ = null; } return federationsBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationsRequest.page_size], use
       * the [next_page_token] as the value
       * for the [ListFederationsRequest.page_token] query parameter
       * in the next list request. Each subsequent list request will have its own
       * [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationsRequest.page_size], use
       * the [next_page_token] as the value
       * for the [ListFederationsRequest.page_token] query parameter
       * in the next list request. Each subsequent list request will have its own
       * [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationsRequest.page_size], use
       * the [next_page_token] as the value
       * for the [ListFederationsRequest.page_token] query parameter
       * in the next list request. Each subsequent list request will have its own
       * [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationsRequest.page_size], use
       * the [next_page_token] as the value
       * for the [ListFederationsRequest.page_token] query parameter
       * in the next list request. Each subsequent list request will have its own
       * [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationsRequest.page_size], use
       * the [next_page_token] as the value
       * for the [ListFederationsRequest.page_token] query parameter
       * in the next list request. Each subsequent list request will have its own
       * [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.ListFederationsResponse) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFederationsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFederationsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateFederationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the organization to create a federation in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The organizationId. */ java.lang.String getOrganizationId(); /** *
     * ID of the organization to create a federation in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for organizationId. */ com.google.protobuf.ByteString getOrganizationIdBytes(); /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ java.lang.String getName(); /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Description of the federation.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ java.lang.String getDescription(); /** *
     * Description of the federation.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; * @return Whether the cookieMaxAge field is set. */ boolean hasCookieMaxAge(); /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; * @return The cookieMaxAge. */ com.google.protobuf.Duration getCookieMaxAge(); /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ com.google.protobuf.DurationOrBuilder getCookieMaxAgeOrBuilder(); /** *
     * Add new users automatically on successful authentication.
     * The user becomes member of the organization automatically,
     * but you need to grant other roles to them.
     * If the value is `false`, users who aren't added to the organization
     * can't log in, even if they have authenticated on your server.
     * 
* * bool auto_create_account_on_login = 5; * @return The autoCreateAccountOnLogin. */ boolean getAutoCreateAccountOnLogin(); /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The issuer. */ java.lang.String getIssuer(); /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for issuer. */ com.google.protobuf.ByteString getIssuerBytes(); /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return The enum numeric value on the wire for ssoBinding. */ int getSsoBindingValue(); /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return The ssoBinding. */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType getSsoBinding(); /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The ssoUrl. */ java.lang.String getSsoUrl(); /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for ssoUrl. */ com.google.protobuf.ByteString getSsoUrlBytes(); /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; * @return Whether the securitySettings field is set. */ boolean hasSecuritySettings(); /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; * @return The securitySettings. */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings getSecuritySettings(); /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder getSecuritySettingsOrBuilder(); /** *
     * Use case insensitive Name IDs.
     * 
* * bool case_insensitive_name_ids = 10; * @return The caseInsensitiveNameIds. */ boolean getCaseInsensitiveNameIds(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ int getLabelsCount(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.util.Map getLabelsMap(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest} */ public static final class CreateFederationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest) CreateFederationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateFederationRequest.newBuilder() to construct. private CreateFederationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateFederationRequest() { organizationId_ = ""; name_ = ""; description_ = ""; issuer_ = ""; ssoBinding_ = 0; ssoUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateFederationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateFederationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); organizationId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 34: { com.google.protobuf.Duration.Builder subBuilder = null; if (cookieMaxAge_ != null) { subBuilder = cookieMaxAge_.toBuilder(); } cookieMaxAge_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cookieMaxAge_); cookieMaxAge_ = subBuilder.buildPartial(); } break; } case 40: { autoCreateAccountOnLogin_ = input.readBool(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); issuer_ = s; break; } case 56: { int rawValue = input.readEnum(); ssoBinding_ = rawValue; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); ssoUrl_ = s; break; } case 74: { yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder subBuilder = null; if (securitySettings_ != null) { subBuilder = securitySettings_.toBuilder(); } securitySettings_ = input.readMessage(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(securitySettings_); securitySettings_ = subBuilder.buildPartial(); } break; } case 80: { caseInsensitiveNameIds_ = input.readBool(); break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.Builder.class); } public static final int ORGANIZATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object organizationId_; /** *
     * ID of the organization to create a federation in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The organizationId. */ @java.lang.Override public java.lang.String getOrganizationId() { java.lang.Object ref = organizationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organizationId_ = s; return s; } } /** *
     * ID of the organization to create a federation in.
     * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
     * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for organizationId. */ @java.lang.Override public com.google.protobuf.ByteString getOrganizationIdBytes() { java.lang.Object ref = organizationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); organizationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** *
     * Description of the federation.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     * Description of the federation.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COOKIE_MAX_AGE_FIELD_NUMBER = 4; private com.google.protobuf.Duration cookieMaxAge_; /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; * @return Whether the cookieMaxAge field is set. */ @java.lang.Override public boolean hasCookieMaxAge() { return cookieMaxAge_ != null; } /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; * @return The cookieMaxAge. */ @java.lang.Override public com.google.protobuf.Duration getCookieMaxAge() { return cookieMaxAge_ == null ? com.google.protobuf.Duration.getDefaultInstance() : cookieMaxAge_; } /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCookieMaxAgeOrBuilder() { return getCookieMaxAge(); } public static final int AUTO_CREATE_ACCOUNT_ON_LOGIN_FIELD_NUMBER = 5; private boolean autoCreateAccountOnLogin_; /** *
     * Add new users automatically on successful authentication.
     * The user becomes member of the organization automatically,
     * but you need to grant other roles to them.
     * If the value is `false`, users who aren't added to the organization
     * can't log in, even if they have authenticated on your server.
     * 
* * bool auto_create_account_on_login = 5; * @return The autoCreateAccountOnLogin. */ @java.lang.Override public boolean getAutoCreateAccountOnLogin() { return autoCreateAccountOnLogin_; } public static final int ISSUER_FIELD_NUMBER = 6; private volatile java.lang.Object issuer_; /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The issuer. */ @java.lang.Override public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for issuer. */ @java.lang.Override public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SSO_BINDING_FIELD_NUMBER = 7; private int ssoBinding_; /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return The enum numeric value on the wire for ssoBinding. */ @java.lang.Override public int getSsoBindingValue() { return ssoBinding_; } /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return The ssoBinding. */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType getSsoBinding() { @SuppressWarnings("deprecation") yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType result = yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.valueOf(ssoBinding_); return result == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.UNRECOGNIZED : result; } public static final int SSO_URL_FIELD_NUMBER = 8; private volatile java.lang.Object ssoUrl_; /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The ssoUrl. */ @java.lang.Override public java.lang.String getSsoUrl() { java.lang.Object ref = ssoUrl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ssoUrl_ = s; return s; } } /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for ssoUrl. */ @java.lang.Override public com.google.protobuf.ByteString getSsoUrlBytes() { java.lang.Object ref = ssoUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssoUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SECURITY_SETTINGS_FIELD_NUMBER = 9; private yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings securitySettings_; /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; * @return Whether the securitySettings field is set. */ @java.lang.Override public boolean hasSecuritySettings() { return securitySettings_ != null; } /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; * @return The securitySettings. */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings getSecuritySettings() { return securitySettings_ == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.getDefaultInstance() : securitySettings_; } /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder getSecuritySettingsOrBuilder() { return getSecuritySettings(); } public static final int CASE_INSENSITIVE_NAME_IDS_FIELD_NUMBER = 10; private boolean caseInsensitiveNameIds_; /** *
     * Use case insensitive Name IDs.
     * 
* * bool case_insensitive_name_ids = 10; * @return The caseInsensitiveNameIds. */ @java.lang.Override public boolean getCaseInsensitiveNameIds() { return caseInsensitiveNameIds_; } public static final int LABELS_FIELD_NUMBER = 11; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(organizationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, organizationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (cookieMaxAge_ != null) { output.writeMessage(4, getCookieMaxAge()); } if (autoCreateAccountOnLogin_ != false) { output.writeBool(5, autoCreateAccountOnLogin_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, issuer_); } if (ssoBinding_ != yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.BINDING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, ssoBinding_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ssoUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, ssoUrl_); } if (securitySettings_ != null) { output.writeMessage(9, getSecuritySettings()); } if (caseInsensitiveNameIds_ != false) { output.writeBool(10, caseInsensitiveNameIds_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(organizationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, organizationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (cookieMaxAge_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getCookieMaxAge()); } if (autoCreateAccountOnLogin_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, autoCreateAccountOnLogin_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, issuer_); } if (ssoBinding_ != yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.BINDING_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, ssoBinding_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ssoUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, ssoUrl_); } if (securitySettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getSecuritySettings()); } if (caseInsensitiveNameIds_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, caseInsensitiveNameIds_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, labels__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest) obj; if (!getOrganizationId() .equals(other.getOrganizationId())) return false; if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (hasCookieMaxAge() != other.hasCookieMaxAge()) return false; if (hasCookieMaxAge()) { if (!getCookieMaxAge() .equals(other.getCookieMaxAge())) return false; } if (getAutoCreateAccountOnLogin() != other.getAutoCreateAccountOnLogin()) return false; if (!getIssuer() .equals(other.getIssuer())) return false; if (ssoBinding_ != other.ssoBinding_) return false; if (!getSsoUrl() .equals(other.getSsoUrl())) return false; if (hasSecuritySettings() != other.hasSecuritySettings()) return false; if (hasSecuritySettings()) { if (!getSecuritySettings() .equals(other.getSecuritySettings())) return false; } if (getCaseInsensitiveNameIds() != other.getCaseInsensitiveNameIds()) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ORGANIZATION_ID_FIELD_NUMBER; hash = (53 * hash) + getOrganizationId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); if (hasCookieMaxAge()) { hash = (37 * hash) + COOKIE_MAX_AGE_FIELD_NUMBER; hash = (53 * hash) + getCookieMaxAge().hashCode(); } hash = (37 * hash) + AUTO_CREATE_ACCOUNT_ON_LOGIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAutoCreateAccountOnLogin()); hash = (37 * hash) + ISSUER_FIELD_NUMBER; hash = (53 * hash) + getIssuer().hashCode(); hash = (37 * hash) + SSO_BINDING_FIELD_NUMBER; hash = (53 * hash) + ssoBinding_; hash = (37 * hash) + SSO_URL_FIELD_NUMBER; hash = (53 * hash) + getSsoUrl().hashCode(); if (hasSecuritySettings()) { hash = (37 * hash) + SECURITY_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSecuritySettings().hashCode(); } hash = (37 * hash) + CASE_INSENSITIVE_NAME_IDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCaseInsensitiveNameIds()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); organizationId_ = ""; name_ = ""; description_ = ""; if (cookieMaxAgeBuilder_ == null) { cookieMaxAge_ = null; } else { cookieMaxAge_ = null; cookieMaxAgeBuilder_ = null; } autoCreateAccountOnLogin_ = false; issuer_ = ""; ssoBinding_ = 0; ssoUrl_ = ""; if (securitySettingsBuilder_ == null) { securitySettings_ = null; } else { securitySettings_ = null; securitySettingsBuilder_ = null; } caseInsensitiveNameIds_ = false; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest(this); int from_bitField0_ = bitField0_; result.organizationId_ = organizationId_; result.name_ = name_; result.description_ = description_; if (cookieMaxAgeBuilder_ == null) { result.cookieMaxAge_ = cookieMaxAge_; } else { result.cookieMaxAge_ = cookieMaxAgeBuilder_.build(); } result.autoCreateAccountOnLogin_ = autoCreateAccountOnLogin_; result.issuer_ = issuer_; result.ssoBinding_ = ssoBinding_; result.ssoUrl_ = ssoUrl_; if (securitySettingsBuilder_ == null) { result.securitySettings_ = securitySettings_; } else { result.securitySettings_ = securitySettingsBuilder_.build(); } result.caseInsensitiveNameIds_ = caseInsensitiveNameIds_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest.getDefaultInstance()) return this; if (!other.getOrganizationId().isEmpty()) { organizationId_ = other.organizationId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.hasCookieMaxAge()) { mergeCookieMaxAge(other.getCookieMaxAge()); } if (other.getAutoCreateAccountOnLogin() != false) { setAutoCreateAccountOnLogin(other.getAutoCreateAccountOnLogin()); } if (!other.getIssuer().isEmpty()) { issuer_ = other.issuer_; onChanged(); } if (other.ssoBinding_ != 0) { setSsoBindingValue(other.getSsoBindingValue()); } if (!other.getSsoUrl().isEmpty()) { ssoUrl_ = other.ssoUrl_; onChanged(); } if (other.hasSecuritySettings()) { mergeSecuritySettings(other.getSecuritySettings()); } if (other.getCaseInsensitiveNameIds() != false) { setCaseInsensitiveNameIds(other.getCaseInsensitiveNameIds()); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object organizationId_ = ""; /** *
       * ID of the organization to create a federation in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The organizationId. */ public java.lang.String getOrganizationId() { java.lang.Object ref = organizationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organizationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the organization to create a federation in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for organizationId. */ public com.google.protobuf.ByteString getOrganizationIdBytes() { java.lang.Object ref = organizationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); organizationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the organization to create a federation in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The organizationId to set. * @return This builder for chaining. */ public Builder setOrganizationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } organizationId_ = value; onChanged(); return this; } /** *
       * ID of the organization to create a federation in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearOrganizationId() { organizationId_ = getDefaultInstance().getOrganizationId(); onChanged(); return this; } /** *
       * ID of the organization to create a federation in.
       * To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request.
       * 
* * string organization_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for organizationId to set. * @return This builder for chaining. */ public Builder setOrganizationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); organizationId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
       * Description of the federation.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Description of the federation.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Description of the federation.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       * Description of the federation.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       * Description of the federation.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private com.google.protobuf.Duration cookieMaxAge_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> cookieMaxAgeBuilder_; /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; * @return Whether the cookieMaxAge field is set. */ public boolean hasCookieMaxAge() { return cookieMaxAgeBuilder_ != null || cookieMaxAge_ != null; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; * @return The cookieMaxAge. */ public com.google.protobuf.Duration getCookieMaxAge() { if (cookieMaxAgeBuilder_ == null) { return cookieMaxAge_ == null ? com.google.protobuf.Duration.getDefaultInstance() : cookieMaxAge_; } else { return cookieMaxAgeBuilder_.getMessage(); } } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder setCookieMaxAge(com.google.protobuf.Duration value) { if (cookieMaxAgeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cookieMaxAge_ = value; onChanged(); } else { cookieMaxAgeBuilder_.setMessage(value); } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder setCookieMaxAge( com.google.protobuf.Duration.Builder builderForValue) { if (cookieMaxAgeBuilder_ == null) { cookieMaxAge_ = builderForValue.build(); onChanged(); } else { cookieMaxAgeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder mergeCookieMaxAge(com.google.protobuf.Duration value) { if (cookieMaxAgeBuilder_ == null) { if (cookieMaxAge_ != null) { cookieMaxAge_ = com.google.protobuf.Duration.newBuilder(cookieMaxAge_).mergeFrom(value).buildPartial(); } else { cookieMaxAge_ = value; } onChanged(); } else { cookieMaxAgeBuilder_.mergeFrom(value); } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder clearCookieMaxAge() { if (cookieMaxAgeBuilder_ == null) { cookieMaxAge_ = null; onChanged(); } else { cookieMaxAge_ = null; cookieMaxAgeBuilder_ = null; } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ public com.google.protobuf.Duration.Builder getCookieMaxAgeBuilder() { onChanged(); return getCookieMaxAgeFieldBuilder().getBuilder(); } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ public com.google.protobuf.DurationOrBuilder getCookieMaxAgeOrBuilder() { if (cookieMaxAgeBuilder_ != null) { return cookieMaxAgeBuilder_.getMessageOrBuilder(); } else { return cookieMaxAge_ == null ? com.google.protobuf.Duration.getDefaultInstance() : cookieMaxAge_; } } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 4 [(.yandex.cloud.value) = "10m-12h"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getCookieMaxAgeFieldBuilder() { if (cookieMaxAgeBuilder_ == null) { cookieMaxAgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getCookieMaxAge(), getParentForChildren(), isClean()); cookieMaxAge_ = null; } return cookieMaxAgeBuilder_; } private boolean autoCreateAccountOnLogin_ ; /** *
       * Add new users automatically on successful authentication.
       * The user becomes member of the organization automatically,
       * but you need to grant other roles to them.
       * If the value is `false`, users who aren't added to the organization
       * can't log in, even if they have authenticated on your server.
       * 
* * bool auto_create_account_on_login = 5; * @return The autoCreateAccountOnLogin. */ @java.lang.Override public boolean getAutoCreateAccountOnLogin() { return autoCreateAccountOnLogin_; } /** *
       * Add new users automatically on successful authentication.
       * The user becomes member of the organization automatically,
       * but you need to grant other roles to them.
       * If the value is `false`, users who aren't added to the organization
       * can't log in, even if they have authenticated on your server.
       * 
* * bool auto_create_account_on_login = 5; * @param value The autoCreateAccountOnLogin to set. * @return This builder for chaining. */ public Builder setAutoCreateAccountOnLogin(boolean value) { autoCreateAccountOnLogin_ = value; onChanged(); return this; } /** *
       * Add new users automatically on successful authentication.
       * The user becomes member of the organization automatically,
       * but you need to grant other roles to them.
       * If the value is `false`, users who aren't added to the organization
       * can't log in, even if they have authenticated on your server.
       * 
* * bool auto_create_account_on_login = 5; * @return This builder for chaining. */ public Builder clearAutoCreateAccountOnLogin() { autoCreateAccountOnLogin_ = false; onChanged(); return this; } private java.lang.Object issuer_ = ""; /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for issuer. */ public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The issuer to set. * @return This builder for chaining. */ public Builder setIssuer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } issuer_ = value; onChanged(); return this; } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return This builder for chaining. */ public Builder clearIssuer() { issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The bytes for issuer to set. * @return This builder for chaining. */ public Builder setIssuerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuer_ = value; onChanged(); return this; } private int ssoBinding_ = 0; /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return The enum numeric value on the wire for ssoBinding. */ @java.lang.Override public int getSsoBindingValue() { return ssoBinding_; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @param value The enum numeric value on the wire for ssoBinding to set. * @return This builder for chaining. */ public Builder setSsoBindingValue(int value) { ssoBinding_ = value; onChanged(); return this; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return The ssoBinding. */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType getSsoBinding() { @SuppressWarnings("deprecation") yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType result = yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.valueOf(ssoBinding_); return result == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.UNRECOGNIZED : result; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @param value The ssoBinding to set. * @return This builder for chaining. */ public Builder setSsoBinding(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType value) { if (value == null) { throw new NullPointerException(); } ssoBinding_ = value.getNumber(); onChanged(); return this; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 7; * @return This builder for chaining. */ public Builder clearSsoBinding() { ssoBinding_ = 0; onChanged(); return this; } private java.lang.Object ssoUrl_ = ""; /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The ssoUrl. */ public java.lang.String getSsoUrl() { java.lang.Object ref = ssoUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ssoUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for ssoUrl. */ public com.google.protobuf.ByteString getSsoUrlBytes() { java.lang.Object ref = ssoUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssoUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The ssoUrl to set. * @return This builder for chaining. */ public Builder setSsoUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ssoUrl_ = value; onChanged(); return this; } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return This builder for chaining. */ public Builder clearSsoUrl() { ssoUrl_ = getDefaultInstance().getSsoUrl(); onChanged(); return this; } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 8 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The bytes for ssoUrl to set. * @return This builder for chaining. */ public Builder setSsoUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ssoUrl_ = value; onChanged(); return this; } private yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings securitySettings_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder> securitySettingsBuilder_; /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; * @return Whether the securitySettings field is set. */ public boolean hasSecuritySettings() { return securitySettingsBuilder_ != null || securitySettings_ != null; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; * @return The securitySettings. */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings getSecuritySettings() { if (securitySettingsBuilder_ == null) { return securitySettings_ == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.getDefaultInstance() : securitySettings_; } else { return securitySettingsBuilder_.getMessage(); } } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ public Builder setSecuritySettings(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings value) { if (securitySettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } securitySettings_ = value; onChanged(); } else { securitySettingsBuilder_.setMessage(value); } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ public Builder setSecuritySettings( yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder builderForValue) { if (securitySettingsBuilder_ == null) { securitySettings_ = builderForValue.build(); onChanged(); } else { securitySettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ public Builder mergeSecuritySettings(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings value) { if (securitySettingsBuilder_ == null) { if (securitySettings_ != null) { securitySettings_ = yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.newBuilder(securitySettings_).mergeFrom(value).buildPartial(); } else { securitySettings_ = value; } onChanged(); } else { securitySettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ public Builder clearSecuritySettings() { if (securitySettingsBuilder_ == null) { securitySettings_ = null; onChanged(); } else { securitySettings_ = null; securitySettingsBuilder_ = null; } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder getSecuritySettingsBuilder() { onChanged(); return getSecuritySettingsFieldBuilder().getBuilder(); } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder getSecuritySettingsOrBuilder() { if (securitySettingsBuilder_ != null) { return securitySettingsBuilder_.getMessageOrBuilder(); } else { return securitySettings_ == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.getDefaultInstance() : securitySettings_; } } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 9; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder> getSecuritySettingsFieldBuilder() { if (securitySettingsBuilder_ == null) { securitySettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder>( getSecuritySettings(), getParentForChildren(), isClean()); securitySettings_ = null; } return securitySettingsBuilder_; } private boolean caseInsensitiveNameIds_ ; /** *
       * Use case insensitive Name IDs.
       * 
* * bool case_insensitive_name_ids = 10; * @return The caseInsensitiveNameIds. */ @java.lang.Override public boolean getCaseInsensitiveNameIds() { return caseInsensitiveNameIds_; } /** *
       * Use case insensitive Name IDs.
       * 
* * bool case_insensitive_name_ids = 10; * @param value The caseInsensitiveNameIds to set. * @return This builder for chaining. */ public Builder setCaseInsensitiveNameIds(boolean value) { caseInsensitiveNameIds_ = value; onChanged(); return this; } /** *
       * Use case insensitive Name IDs.
       * 
* * bool case_insensitive_name_ids = 10; * @return This builder for chaining. */ public Builder clearCaseInsensitiveNameIds() { caseInsensitiveNameIds_ = false; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 11 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); return this; } @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:yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.CreateFederationRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateFederationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateFederationRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateFederationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation that is being created.
     * 
* * string federation_id = 1; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation that is being created.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata} */ public static final class CreateFederationMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata) CreateFederationMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use CreateFederationMetadata.newBuilder() to construct. private CreateFederationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateFederationMetadata() { federationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateFederationMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateFederationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation that is being created.
     * 
* * string federation_id = 1; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation that is being created.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata(this); result.federationId_ = federationId_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation that is being created.
       * 
* * string federation_id = 1; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation that is being created.
       * 
* * string federation_id = 1; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation that is being created.
       * 
* * string federation_id = 1; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation that is being created.
       * 
* * string federation_id = 1; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation that is being created.
       * 
* * string federation_id = 1; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.CreateFederationMetadata) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateFederationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateFederationMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.CreateFederationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateFederationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation to update.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation to update.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); /** *
     * Field mask that specifies which fields of the federation are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** *
     * Field mask that specifies which fields of the federation are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** *
     * Field mask that specifies which fields of the federation are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ java.lang.String getName(); /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Description of the federation.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ java.lang.String getDescription(); /** *
     * Description of the federation.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; * @return Whether the cookieMaxAge field is set. */ boolean hasCookieMaxAge(); /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; * @return The cookieMaxAge. */ com.google.protobuf.Duration getCookieMaxAge(); /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ com.google.protobuf.DurationOrBuilder getCookieMaxAgeOrBuilder(); /** *
     * Add new users automatically on successful authentication.
     * The user becomes member of the organization automatically,
     * but you need to grant other roles to them.
     * If the value is `false`, users who aren't added to the organization
     * can't log in, even if they have authenticated on your server.
     * 
* * bool auto_create_account_on_login = 6; * @return The autoCreateAccountOnLogin. */ boolean getAutoCreateAccountOnLogin(); /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The issuer. */ java.lang.String getIssuer(); /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for issuer. */ com.google.protobuf.ByteString getIssuerBytes(); /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return The enum numeric value on the wire for ssoBinding. */ int getSsoBindingValue(); /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return The ssoBinding. */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType getSsoBinding(); /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The ssoUrl. */ java.lang.String getSsoUrl(); /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for ssoUrl. */ com.google.protobuf.ByteString getSsoUrlBytes(); /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; * @return Whether the securitySettings field is set. */ boolean hasSecuritySettings(); /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; * @return The securitySettings. */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings getSecuritySettings(); /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder getSecuritySettingsOrBuilder(); /** *
     * Use case insensitive name ids.
     * 
* * bool case_insensitive_name_ids = 12; * @return The caseInsensitiveNameIds. */ boolean getCaseInsensitiveNameIds(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ int getLabelsCount(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.util.Map getLabelsMap(); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrThrow( java.lang.String key); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest} */ public static final class UpdateFederationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest) UpdateFederationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateFederationRequest.newBuilder() to construct. private UpdateFederationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateFederationRequest() { federationId_ = ""; name_ = ""; description_ = ""; issuer_ = ""; ssoBinding_ = 0; ssoUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateFederationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateFederationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } case 18: { com.google.protobuf.FieldMask.Builder subBuilder = null; if (updateMask_ != null) { subBuilder = updateMask_.toBuilder(); } updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updateMask_); updateMask_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 42: { com.google.protobuf.Duration.Builder subBuilder = null; if (cookieMaxAge_ != null) { subBuilder = cookieMaxAge_.toBuilder(); } cookieMaxAge_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cookieMaxAge_); cookieMaxAge_ = subBuilder.buildPartial(); } break; } case 48: { autoCreateAccountOnLogin_ = input.readBool(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); issuer_ = s; break; } case 64: { int rawValue = input.readEnum(); ssoBinding_ = rawValue; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); ssoUrl_ = s; break; } case 82: { yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder subBuilder = null; if (securitySettings_ != null) { subBuilder = securitySettings_.toBuilder(); } securitySettings_ = input.readMessage(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(securitySettings_); securitySettings_ = subBuilder.buildPartial(); } break; } case 96: { caseInsensitiveNameIds_ = input.readBool(); break; } case 106: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 13: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation to update.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation to update.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** *
     * Field mask that specifies which fields of the federation are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ @java.lang.Override public boolean hasUpdateMask() { return updateMask_ != null; } /** *
     * Field mask that specifies which fields of the federation are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ @java.lang.Override public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** *
     * Field mask that specifies which fields of the federation are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name of the federation.
     * The name must be unique within the organization.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** *
     * Description of the federation.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     * Description of the federation.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COOKIE_MAX_AGE_FIELD_NUMBER = 5; private com.google.protobuf.Duration cookieMaxAge_; /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; * @return Whether the cookieMaxAge field is set. */ @java.lang.Override public boolean hasCookieMaxAge() { return cookieMaxAge_ != null; } /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; * @return The cookieMaxAge. */ @java.lang.Override public com.google.protobuf.Duration getCookieMaxAge() { return cookieMaxAge_ == null ? com.google.protobuf.Duration.getDefaultInstance() : cookieMaxAge_; } /** *
     * Browser cookie lifetime in seconds.
     * If the cookie is still valid, the management console
     * authenticates the user immediately and redirects them to the home page.
     * The default value is `8h`.
     * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCookieMaxAgeOrBuilder() { return getCookieMaxAge(); } public static final int AUTO_CREATE_ACCOUNT_ON_LOGIN_FIELD_NUMBER = 6; private boolean autoCreateAccountOnLogin_; /** *
     * Add new users automatically on successful authentication.
     * The user becomes member of the organization automatically,
     * but you need to grant other roles to them.
     * If the value is `false`, users who aren't added to the organization
     * can't log in, even if they have authenticated on your server.
     * 
* * bool auto_create_account_on_login = 6; * @return The autoCreateAccountOnLogin. */ @java.lang.Override public boolean getAutoCreateAccountOnLogin() { return autoCreateAccountOnLogin_; } public static final int ISSUER_FIELD_NUMBER = 7; private volatile java.lang.Object issuer_; /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The issuer. */ @java.lang.Override public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** *
     * ID of the IdP server to be used for authentication.
     * The IdP server also responds to IAM with this ID after the user authenticates.
     * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for issuer. */ @java.lang.Override public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SSO_BINDING_FIELD_NUMBER = 8; private int ssoBinding_; /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return The enum numeric value on the wire for ssoBinding. */ @java.lang.Override public int getSsoBindingValue() { return ssoBinding_; } /** *
     * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
     * SAML Binding is a mapping of a SAML protocol message onto standard messaging
     * formats and/or communications protocols.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return The ssoBinding. */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType getSsoBinding() { @SuppressWarnings("deprecation") yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType result = yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.valueOf(ssoBinding_); return result == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.UNRECOGNIZED : result; } public static final int SSO_URL_FIELD_NUMBER = 9; private volatile java.lang.Object ssoUrl_; /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The ssoUrl. */ @java.lang.Override public java.lang.String getSsoUrl() { java.lang.Object ref = ssoUrl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ssoUrl_ = s; return s; } } /** *
     * Single sign-on endpoint URL.
     * Specify the link to the IdP login page here.
     * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for ssoUrl. */ @java.lang.Override public com.google.protobuf.ByteString getSsoUrlBytes() { java.lang.Object ref = ssoUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssoUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SECURITY_SETTINGS_FIELD_NUMBER = 10; private yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings securitySettings_; /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; * @return Whether the securitySettings field is set. */ @java.lang.Override public boolean hasSecuritySettings() { return securitySettings_ != null; } /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; * @return The securitySettings. */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings getSecuritySettings() { return securitySettings_ == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.getDefaultInstance() : securitySettings_; } /** *
     * Federation security settings.
     * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder getSecuritySettingsOrBuilder() { return getSecuritySettings(); } public static final int CASE_INSENSITIVE_NAME_IDS_FIELD_NUMBER = 12; private boolean caseInsensitiveNameIds_; /** *
     * Use case insensitive name ids.
     * 
* * bool case_insensitive_name_ids = 12; * @return The caseInsensitiveNameIds. */ @java.lang.Override public boolean getCaseInsensitiveNameIds() { return caseInsensitiveNameIds_; } public static final int LABELS_FIELD_NUMBER = 13; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Resource labels as `` key:value `` pairs.
     * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } if (cookieMaxAge_ != null) { output.writeMessage(5, getCookieMaxAge()); } if (autoCreateAccountOnLogin_ != false) { output.writeBool(6, autoCreateAccountOnLogin_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, issuer_); } if (ssoBinding_ != yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.BINDING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(8, ssoBinding_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ssoUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, ssoUrl_); } if (securitySettings_ != null) { output.writeMessage(10, getSecuritySettings()); } if (caseInsensitiveNameIds_ != false) { output.writeBool(12, caseInsensitiveNameIds_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 13); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } if (updateMask_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (cookieMaxAge_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCookieMaxAge()); } if (autoCreateAccountOnLogin_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, autoCreateAccountOnLogin_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, issuer_); } if (ssoBinding_ != yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.BINDING_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, ssoBinding_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ssoUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, ssoUrl_); } if (securitySettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getSecuritySettings()); } if (caseInsensitiveNameIds_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, caseInsensitiveNameIds_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, labels__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { if (!getUpdateMask() .equals(other.getUpdateMask())) return false; } if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (hasCookieMaxAge() != other.hasCookieMaxAge()) return false; if (hasCookieMaxAge()) { if (!getCookieMaxAge() .equals(other.getCookieMaxAge())) return false; } if (getAutoCreateAccountOnLogin() != other.getAutoCreateAccountOnLogin()) return false; if (!getIssuer() .equals(other.getIssuer())) return false; if (ssoBinding_ != other.ssoBinding_) return false; if (!getSsoUrl() .equals(other.getSsoUrl())) return false; if (hasSecuritySettings() != other.hasSecuritySettings()) return false; if (hasSecuritySettings()) { if (!getSecuritySettings() .equals(other.getSecuritySettings())) return false; } if (getCaseInsensitiveNameIds() != other.getCaseInsensitiveNameIds()) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); if (hasCookieMaxAge()) { hash = (37 * hash) + COOKIE_MAX_AGE_FIELD_NUMBER; hash = (53 * hash) + getCookieMaxAge().hashCode(); } hash = (37 * hash) + AUTO_CREATE_ACCOUNT_ON_LOGIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAutoCreateAccountOnLogin()); hash = (37 * hash) + ISSUER_FIELD_NUMBER; hash = (53 * hash) + getIssuer().hashCode(); hash = (37 * hash) + SSO_BINDING_FIELD_NUMBER; hash = (53 * hash) + ssoBinding_; hash = (37 * hash) + SSO_URL_FIELD_NUMBER; hash = (53 * hash) + getSsoUrl().hashCode(); if (hasSecuritySettings()) { hash = (37 * hash) + SECURITY_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSecuritySettings().hashCode(); } hash = (37 * hash) + CASE_INSENSITIVE_NAME_IDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCaseInsensitiveNameIds()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 13: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 13: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; if (updateMaskBuilder_ == null) { updateMask_ = null; } else { updateMask_ = null; updateMaskBuilder_ = null; } name_ = ""; description_ = ""; if (cookieMaxAgeBuilder_ == null) { cookieMaxAge_ = null; } else { cookieMaxAge_ = null; cookieMaxAgeBuilder_ = null; } autoCreateAccountOnLogin_ = false; issuer_ = ""; ssoBinding_ = 0; ssoUrl_ = ""; if (securitySettingsBuilder_ == null) { securitySettings_ = null; } else { securitySettings_ = null; securitySettingsBuilder_ = null; } caseInsensitiveNameIds_ = false; internalGetMutableLabels().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest(this); int from_bitField0_ = bitField0_; result.federationId_ = federationId_; if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { result.updateMask_ = updateMaskBuilder_.build(); } result.name_ = name_; result.description_ = description_; if (cookieMaxAgeBuilder_ == null) { result.cookieMaxAge_ = cookieMaxAge_; } else { result.cookieMaxAge_ = cookieMaxAgeBuilder_.build(); } result.autoCreateAccountOnLogin_ = autoCreateAccountOnLogin_; result.issuer_ = issuer_; result.ssoBinding_ = ssoBinding_; result.ssoUrl_ = ssoUrl_; if (securitySettingsBuilder_ == null) { result.securitySettings_ = securitySettings_; } else { result.securitySettings_ = securitySettingsBuilder_.build(); } result.caseInsensitiveNameIds_ = caseInsensitiveNameIds_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.hasCookieMaxAge()) { mergeCookieMaxAge(other.getCookieMaxAge()); } if (other.getAutoCreateAccountOnLogin() != false) { setAutoCreateAccountOnLogin(other.getAutoCreateAccountOnLogin()); } if (!other.getIssuer().isEmpty()) { issuer_ = other.issuer_; onChanged(); } if (other.ssoBinding_ != 0) { setSsoBindingValue(other.getSsoBindingValue()); } if (!other.getSsoUrl().isEmpty()) { ssoUrl_ = other.ssoUrl_; onChanged(); } if (other.hasSecuritySettings()) { mergeSecuritySettings(other.getSecuritySettings()); } if (other.getCaseInsensitiveNameIds() != false) { setCaseInsensitiveNameIds(other.getCaseInsensitiveNameIds()); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object federationId_ = ""; /** *
       * ID of the federation to update.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation to update.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation to update.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation to update.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation to update.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updateMask_ = value; onChanged(); } else { updateMaskBuilder_.setMessage(value); } return this; } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder setUpdateMask( com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); } else { updateMaskBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } onChanged(); } else { updateMaskBuilder_.mergeFrom(value); } return this; } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { updateMask_ = null; onChanged(); } else { updateMask_ = null; updateMaskBuilder_ = null; } return this; } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** *
       * Field mask that specifies which fields of the federation are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } private java.lang.Object name_ = ""; /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the federation.
       * The name must be unique within the organization.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
       * Description of the federation.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Description of the federation.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Description of the federation.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       * Description of the federation.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       * Description of the federation.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private com.google.protobuf.Duration cookieMaxAge_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> cookieMaxAgeBuilder_; /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; * @return Whether the cookieMaxAge field is set. */ public boolean hasCookieMaxAge() { return cookieMaxAgeBuilder_ != null || cookieMaxAge_ != null; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; * @return The cookieMaxAge. */ public com.google.protobuf.Duration getCookieMaxAge() { if (cookieMaxAgeBuilder_ == null) { return cookieMaxAge_ == null ? com.google.protobuf.Duration.getDefaultInstance() : cookieMaxAge_; } else { return cookieMaxAgeBuilder_.getMessage(); } } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder setCookieMaxAge(com.google.protobuf.Duration value) { if (cookieMaxAgeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cookieMaxAge_ = value; onChanged(); } else { cookieMaxAgeBuilder_.setMessage(value); } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder setCookieMaxAge( com.google.protobuf.Duration.Builder builderForValue) { if (cookieMaxAgeBuilder_ == null) { cookieMaxAge_ = builderForValue.build(); onChanged(); } else { cookieMaxAgeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder mergeCookieMaxAge(com.google.protobuf.Duration value) { if (cookieMaxAgeBuilder_ == null) { if (cookieMaxAge_ != null) { cookieMaxAge_ = com.google.protobuf.Duration.newBuilder(cookieMaxAge_).mergeFrom(value).buildPartial(); } else { cookieMaxAge_ = value; } onChanged(); } else { cookieMaxAgeBuilder_.mergeFrom(value); } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ public Builder clearCookieMaxAge() { if (cookieMaxAgeBuilder_ == null) { cookieMaxAge_ = null; onChanged(); } else { cookieMaxAge_ = null; cookieMaxAgeBuilder_ = null; } return this; } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ public com.google.protobuf.Duration.Builder getCookieMaxAgeBuilder() { onChanged(); return getCookieMaxAgeFieldBuilder().getBuilder(); } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ public com.google.protobuf.DurationOrBuilder getCookieMaxAgeOrBuilder() { if (cookieMaxAgeBuilder_ != null) { return cookieMaxAgeBuilder_.getMessageOrBuilder(); } else { return cookieMaxAge_ == null ? com.google.protobuf.Duration.getDefaultInstance() : cookieMaxAge_; } } /** *
       * Browser cookie lifetime in seconds.
       * If the cookie is still valid, the management console
       * authenticates the user immediately and redirects them to the home page.
       * The default value is `8h`.
       * 
* * .google.protobuf.Duration cookie_max_age = 5 [(.yandex.cloud.value) = "10m-12h"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getCookieMaxAgeFieldBuilder() { if (cookieMaxAgeBuilder_ == null) { cookieMaxAgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getCookieMaxAge(), getParentForChildren(), isClean()); cookieMaxAge_ = null; } return cookieMaxAgeBuilder_; } private boolean autoCreateAccountOnLogin_ ; /** *
       * Add new users automatically on successful authentication.
       * The user becomes member of the organization automatically,
       * but you need to grant other roles to them.
       * If the value is `false`, users who aren't added to the organization
       * can't log in, even if they have authenticated on your server.
       * 
* * bool auto_create_account_on_login = 6; * @return The autoCreateAccountOnLogin. */ @java.lang.Override public boolean getAutoCreateAccountOnLogin() { return autoCreateAccountOnLogin_; } /** *
       * Add new users automatically on successful authentication.
       * The user becomes member of the organization automatically,
       * but you need to grant other roles to them.
       * If the value is `false`, users who aren't added to the organization
       * can't log in, even if they have authenticated on your server.
       * 
* * bool auto_create_account_on_login = 6; * @param value The autoCreateAccountOnLogin to set. * @return This builder for chaining. */ public Builder setAutoCreateAccountOnLogin(boolean value) { autoCreateAccountOnLogin_ = value; onChanged(); return this; } /** *
       * Add new users automatically on successful authentication.
       * The user becomes member of the organization automatically,
       * but you need to grant other roles to them.
       * If the value is `false`, users who aren't added to the organization
       * can't log in, even if they have authenticated on your server.
       * 
* * bool auto_create_account_on_login = 6; * @return This builder for chaining. */ public Builder clearAutoCreateAccountOnLogin() { autoCreateAccountOnLogin_ = false; onChanged(); return this; } private java.lang.Object issuer_ = ""; /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for issuer. */ public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The issuer to set. * @return This builder for chaining. */ public Builder setIssuer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } issuer_ = value; onChanged(); return this; } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return This builder for chaining. */ public Builder clearIssuer() { issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; } /** *
       * ID of the IdP server to be used for authentication.
       * The IdP server also responds to IAM with this ID after the user authenticates.
       * 
* * string issuer = 7 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The bytes for issuer to set. * @return This builder for chaining. */ public Builder setIssuerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuer_ = value; onChanged(); return this; } private int ssoBinding_ = 0; /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return The enum numeric value on the wire for ssoBinding. */ @java.lang.Override public int getSsoBindingValue() { return ssoBinding_; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @param value The enum numeric value on the wire for ssoBinding to set. * @return This builder for chaining. */ public Builder setSsoBindingValue(int value) { ssoBinding_ = value; onChanged(); return this; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return The ssoBinding. */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType getSsoBinding() { @SuppressWarnings("deprecation") yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType result = yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.valueOf(ssoBinding_); return result == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType.UNRECOGNIZED : result; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @param value The ssoBinding to set. * @return This builder for chaining. */ public Builder setSsoBinding(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.BindingType value) { if (value == null) { throw new NullPointerException(); } ssoBinding_ = value.getNumber(); onChanged(); return this; } /** *
       * Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
       * SAML Binding is a mapping of a SAML protocol message onto standard messaging
       * formats and/or communications protocols.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.BindingType sso_binding = 8; * @return This builder for chaining. */ public Builder clearSsoBinding() { ssoBinding_ = 0; onChanged(); return this; } private java.lang.Object ssoUrl_ = ""; /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The ssoUrl. */ public java.lang.String getSsoUrl() { java.lang.Object ref = ssoUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ssoUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return The bytes for ssoUrl. */ public com.google.protobuf.ByteString getSsoUrlBytes() { java.lang.Object ref = ssoUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ssoUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The ssoUrl to set. * @return This builder for chaining. */ public Builder setSsoUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ssoUrl_ = value; onChanged(); return this; } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @return This builder for chaining. */ public Builder clearSsoUrl() { ssoUrl_ = getDefaultInstance().getSsoUrl(); onChanged(); return this; } /** *
       * Single sign-on endpoint URL.
       * Specify the link to the IdP login page here.
       * 
* * string sso_url = 9 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=8000"]; * @param value The bytes for ssoUrl to set. * @return This builder for chaining. */ public Builder setSsoUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ssoUrl_ = value; onChanged(); return this; } private yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings securitySettings_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder> securitySettingsBuilder_; /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; * @return Whether the securitySettings field is set. */ public boolean hasSecuritySettings() { return securitySettingsBuilder_ != null || securitySettings_ != null; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; * @return The securitySettings. */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings getSecuritySettings() { if (securitySettingsBuilder_ == null) { return securitySettings_ == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.getDefaultInstance() : securitySettings_; } else { return securitySettingsBuilder_.getMessage(); } } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ public Builder setSecuritySettings(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings value) { if (securitySettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } securitySettings_ = value; onChanged(); } else { securitySettingsBuilder_.setMessage(value); } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ public Builder setSecuritySettings( yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder builderForValue) { if (securitySettingsBuilder_ == null) { securitySettings_ = builderForValue.build(); onChanged(); } else { securitySettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ public Builder mergeSecuritySettings(yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings value) { if (securitySettingsBuilder_ == null) { if (securitySettings_ != null) { securitySettings_ = yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.newBuilder(securitySettings_).mergeFrom(value).buildPartial(); } else { securitySettings_ = value; } onChanged(); } else { securitySettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ public Builder clearSecuritySettings() { if (securitySettingsBuilder_ == null) { securitySettings_ = null; onChanged(); } else { securitySettings_ = null; securitySettingsBuilder_ = null; } return this; } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder getSecuritySettingsBuilder() { onChanged(); return getSecuritySettingsFieldBuilder().getBuilder(); } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ public yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder getSecuritySettingsOrBuilder() { if (securitySettingsBuilder_ != null) { return securitySettingsBuilder_.getMessageOrBuilder(); } else { return securitySettings_ == null ? yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.getDefaultInstance() : securitySettings_; } } /** *
       * Federation security settings.
       * 
* * .yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings security_settings = 10; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder> getSecuritySettingsFieldBuilder() { if (securitySettingsBuilder_ == null) { securitySettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettings.Builder, yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.FederationSecuritySettingsOrBuilder>( getSecuritySettings(), getParentForChildren(), isClean()); securitySettings_ = null; } return securitySettingsBuilder_; } private boolean caseInsensitiveNameIds_ ; /** *
       * Use case insensitive name ids.
       * 
* * bool case_insensitive_name_ids = 12; * @return The caseInsensitiveNameIds. */ @java.lang.Override public boolean getCaseInsensitiveNameIds() { return caseInsensitiveNameIds_; } /** *
       * Use case insensitive name ids.
       * 
* * bool case_insensitive_name_ids = 12; * @param value The caseInsensitiveNameIds to set. * @return This builder for chaining. */ public Builder setCaseInsensitiveNameIds(boolean value) { caseInsensitiveNameIds_ = value; onChanged(); return this; } /** *
       * Use case insensitive name ids.
       * 
* * bool case_insensitive_name_ids = 12; * @return This builder for chaining. */ public Builder clearCaseInsensitiveNameIds() { caseInsensitiveNameIds_ = false; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** *
       * Resource labels as `` key:value `` pairs.
       * 
* * map<string, string> labels = 13 [(.yandex.cloud.pattern) = "[-_0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); return this; } @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:yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.UpdateFederationRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateFederationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateFederationRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateFederationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation that is being updated.
     * 
* * string federation_id = 1; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation that is being updated.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata} */ public static final class UpdateFederationMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata) UpdateFederationMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateFederationMetadata.newBuilder() to construct. private UpdateFederationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateFederationMetadata() { federationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateFederationMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateFederationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation that is being updated.
     * 
* * string federation_id = 1; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation that is being updated.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata(this); result.federationId_ = federationId_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation that is being updated.
       * 
* * string federation_id = 1; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation that is being updated.
       * 
* * string federation_id = 1; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation that is being updated.
       * 
* * string federation_id = 1; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation that is being updated.
       * 
* * string federation_id = 1; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation that is being updated.
       * 
* * string federation_id = 1; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.UpdateFederationMetadata) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateFederationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateFederationMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.UpdateFederationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteFederationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation to delete.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation to delete.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest} */ public static final class DeleteFederationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest) DeleteFederationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteFederationRequest.newBuilder() to construct. private DeleteFederationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteFederationRequest() { federationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteFederationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteFederationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation to delete.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation to delete.
     * To get the federation ID, make a [FederationService.List] request.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest(this); result.federationId_ = federationId_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation to delete.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation to delete.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation to delete.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation to delete.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation to delete.
       * To get the federation ID, make a [FederationService.List] request.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.DeleteFederationRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteFederationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteFederationRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteFederationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation that is being deleted.
     * 
* * string federation_id = 1; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation that is being deleted.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata} */ public static final class DeleteFederationMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata) DeleteFederationMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteFederationMetadata.newBuilder() to construct. private DeleteFederationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteFederationMetadata() { federationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteFederationMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteFederationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation that is being deleted.
     * 
* * string federation_id = 1; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation that is being deleted.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata(this); result.federationId_ = federationId_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation that is being deleted.
       * 
* * string federation_id = 1; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation that is being deleted.
       * 
* * string federation_id = 1; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation that is being deleted.
       * 
* * string federation_id = 1; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation that is being deleted.
       * 
* * string federation_id = 1; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation that is being deleted.
       * 
* * string federation_id = 1; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.DeleteFederationMetadata) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteFederationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteFederationMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.DeleteFederationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AddFederatedUserAccountsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation to add users.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation to add users.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return A list containing the nameIds. */ java.util.List getNameIdsList(); /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return The count of nameIds. */ int getNameIdsCount(); /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index of the element to return. * @return The nameIds at the given index. */ java.lang.String getNameIds(int index); /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index of the value to return. * @return The bytes of the nameIds at the given index. */ com.google.protobuf.ByteString getNameIdsBytes(int index); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest} */ public static final class AddFederatedUserAccountsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest) AddFederatedUserAccountsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use AddFederatedUserAccountsRequest.newBuilder() to construct. private AddFederatedUserAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AddFederatedUserAccountsRequest() { federationId_ = ""; nameIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AddFederatedUserAccountsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AddFederatedUserAccountsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { nameIds_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } nameIds_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameIds_ = nameIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation to add users.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation to add users.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList nameIds_; /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return A list containing the nameIds. */ public com.google.protobuf.ProtocolStringList getNameIdsList() { return nameIds_; } /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return The count of nameIds. */ public int getNameIdsCount() { return nameIds_.size(); } /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index of the element to return. * @return The nameIds at the given index. */ public java.lang.String getNameIds(int index) { return nameIds_.get(index); } /** *
     * Name IDs returned by the Identity Provider (IdP) on successful authentication.
     * These may be UPNs or user email addresses.
     * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index of the value to return. * @return The bytes of the nameIds at the given index. */ public com.google.protobuf.ByteString getNameIdsBytes(int index) { return nameIds_.getByteString(index); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } for (int i = 0; i < nameIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nameIds_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } { int dataSize = 0; for (int i = 0; i < nameIds_.size(); i++) { dataSize += computeStringSizeNoTag(nameIds_.getRaw(i)); } size += dataSize; size += 1 * getNameIdsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!getNameIdsList() .equals(other.getNameIdsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); if (getNameIdsCount() > 0) { hash = (37 * hash) + NAME_IDS_FIELD_NUMBER; hash = (53 * hash) + getNameIdsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; nameIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest(this); int from_bitField0_ = bitField0_; result.federationId_ = federationId_; if (((bitField0_ & 0x00000001) != 0)) { nameIds_ = nameIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.nameIds_ = nameIds_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } if (!other.nameIds_.isEmpty()) { if (nameIds_.isEmpty()) { nameIds_ = other.nameIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNameIdsIsMutable(); nameIds_.addAll(other.nameIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object federationId_ = ""; /** *
       * ID of the federation to add users.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation to add users.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation to add users.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation to add users.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation to add users.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList nameIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameIds_ = new com.google.protobuf.LazyStringArrayList(nameIds_); bitField0_ |= 0x00000001; } } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return A list containing the nameIds. */ public com.google.protobuf.ProtocolStringList getNameIdsList() { return nameIds_.getUnmodifiableView(); } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return The count of nameIds. */ public int getNameIdsCount() { return nameIds_.size(); } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index of the element to return. * @return The nameIds at the given index. */ public java.lang.String getNameIds(int index) { return nameIds_.get(index); } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index of the value to return. * @return The bytes of the nameIds at the given index. */ public com.google.protobuf.ByteString getNameIdsBytes(int index) { return nameIds_.getByteString(index); } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param index The index to set the value at. * @param value The nameIds to set. * @return This builder for chaining. */ public Builder setNameIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIdsIsMutable(); nameIds_.set(index, value); onChanged(); return this; } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param value The nameIds to add. * @return This builder for chaining. */ public Builder addNameIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNameIdsIsMutable(); nameIds_.add(value); onChanged(); return this; } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param values The nameIds to add. * @return This builder for chaining. */ public Builder addAllNameIds( java.lang.Iterable values) { ensureNameIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nameIds_); onChanged(); return this; } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @return This builder for chaining. */ public Builder clearNameIds() { nameIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Name IDs returned by the Identity Provider (IdP) on successful authentication.
       * These may be UPNs or user email addresses.
       * 
* * repeated string name_ids = 2 [(.yandex.cloud.length) = "<=1000"]; * @param value The bytes of the nameIds to add. * @return This builder for chaining. */ public Builder addNameIdsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNameIdsIsMutable(); nameIds_.add(value); onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AddFederatedUserAccountsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AddFederatedUserAccountsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AddFederatedUserAccountsMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation that is being altered.
     * 
* * string federation_id = 1; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation that is being altered.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata} */ public static final class AddFederatedUserAccountsMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata) AddFederatedUserAccountsMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use AddFederatedUserAccountsMetadata.newBuilder() to construct. private AddFederatedUserAccountsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AddFederatedUserAccountsMetadata() { federationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AddFederatedUserAccountsMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AddFederatedUserAccountsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation that is being altered.
     * 
* * string federation_id = 1; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation that is being altered.
     * 
* * string federation_id = 1; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata(this); result.federationId_ = federationId_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation that is being altered.
       * 
* * string federation_id = 1; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation that is being altered.
       * 
* * string federation_id = 1; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation that is being altered.
       * 
* * string federation_id = 1; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation that is being altered.
       * 
* * string federation_id = 1; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation that is being altered.
       * 
* * string federation_id = 1; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsMetadata) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AddFederatedUserAccountsMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AddFederatedUserAccountsMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AddFederatedUserAccountsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ java.util.List getUserAccountsList(); /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount getUserAccounts(int index); /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ int getUserAccountsCount(); /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ java.util.List getUserAccountsOrBuilderList(); /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder getUserAccountsOrBuilder( int index); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse} */ public static final class AddFederatedUserAccountsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse) AddFederatedUserAccountsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use AddFederatedUserAccountsResponse.newBuilder() to construct. private AddFederatedUserAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AddFederatedUserAccountsResponse() { userAccounts_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AddFederatedUserAccountsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AddFederatedUserAccountsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { userAccounts_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } userAccounts_.add( input.readMessage(yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userAccounts_ = java.util.Collections.unmodifiableList(userAccounts_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.Builder.class); } public static final int USER_ACCOUNTS_FIELD_NUMBER = 1; private java.util.List userAccounts_; /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public java.util.List getUserAccountsList() { return userAccounts_; } /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public java.util.List getUserAccountsOrBuilderList() { return userAccounts_; } /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public int getUserAccountsCount() { return userAccounts_.size(); } /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount getUserAccounts(int index) { return userAccounts_.get(index); } /** *
     * List of users created by [FederationService.AddUserAccounts] request.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder getUserAccountsOrBuilder( int index) { return userAccounts_.get(index); } 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 { for (int i = 0; i < userAccounts_.size(); i++) { output.writeMessage(1, userAccounts_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < userAccounts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, userAccounts_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse) obj; if (!getUserAccountsList() .equals(other.getUserAccountsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getUserAccountsCount() > 0) { hash = (37 * hash) + USER_ACCOUNTS_FIELD_NUMBER; hash = (53 * hash) + getUserAccountsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserAccountsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userAccountsBuilder_ == null) { userAccounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { userAccountsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse(this); int from_bitField0_ = bitField0_; if (userAccountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userAccounts_ = java.util.Collections.unmodifiableList(userAccounts_); bitField0_ = (bitField0_ & ~0x00000001); } result.userAccounts_ = userAccounts_; } else { result.userAccounts_ = userAccountsBuilder_.build(); } onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse.getDefaultInstance()) return this; if (userAccountsBuilder_ == null) { if (!other.userAccounts_.isEmpty()) { if (userAccounts_.isEmpty()) { userAccounts_ = other.userAccounts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserAccountsIsMutable(); userAccounts_.addAll(other.userAccounts_); } onChanged(); } } else { if (!other.userAccounts_.isEmpty()) { if (userAccountsBuilder_.isEmpty()) { userAccountsBuilder_.dispose(); userAccountsBuilder_ = null; userAccounts_ = other.userAccounts_; bitField0_ = (bitField0_ & ~0x00000001); userAccountsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUserAccountsFieldBuilder() : null; } else { userAccountsBuilder_.addAllMessages(other.userAccounts_); } } } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List userAccounts_ = java.util.Collections.emptyList(); private void ensureUserAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { userAccounts_ = new java.util.ArrayList(userAccounts_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder> userAccountsBuilder_; /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public java.util.List getUserAccountsList() { if (userAccountsBuilder_ == null) { return java.util.Collections.unmodifiableList(userAccounts_); } else { return userAccountsBuilder_.getMessageList(); } } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public int getUserAccountsCount() { if (userAccountsBuilder_ == null) { return userAccounts_.size(); } else { return userAccountsBuilder_.getCount(); } } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount getUserAccounts(int index) { if (userAccountsBuilder_ == null) { return userAccounts_.get(index); } else { return userAccountsBuilder_.getMessage(index); } } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder setUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount value) { if (userAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserAccountsIsMutable(); userAccounts_.set(index, value); onChanged(); } else { userAccountsBuilder_.setMessage(index, value); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder setUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder builderForValue) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.set(index, builderForValue.build()); onChanged(); } else { userAccountsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts(yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount value) { if (userAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserAccountsIsMutable(); userAccounts_.add(value); onChanged(); } else { userAccountsBuilder_.addMessage(value); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount value) { if (userAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserAccountsIsMutable(); userAccounts_.add(index, value); onChanged(); } else { userAccountsBuilder_.addMessage(index, value); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts( yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder builderForValue) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.add(builderForValue.build()); onChanged(); } else { userAccountsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder builderForValue) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.add(index, builderForValue.build()); onChanged(); } else { userAccountsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addAllUserAccounts( java.lang.Iterable values) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userAccounts_); onChanged(); } else { userAccountsBuilder_.addAllMessages(values); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder clearUserAccounts() { if (userAccountsBuilder_ == null) { userAccounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { userAccountsBuilder_.clear(); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder removeUserAccounts(int index) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.remove(index); onChanged(); } else { userAccountsBuilder_.remove(index); } return this; } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder getUserAccountsBuilder( int index) { return getUserAccountsFieldBuilder().getBuilder(index); } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder getUserAccountsOrBuilder( int index) { if (userAccountsBuilder_ == null) { return userAccounts_.get(index); } else { return userAccountsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public java.util.List getUserAccountsOrBuilderList() { if (userAccountsBuilder_ != null) { return userAccountsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(userAccounts_); } } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder addUserAccountsBuilder() { return getUserAccountsFieldBuilder().addBuilder( yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.getDefaultInstance()); } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder addUserAccountsBuilder( int index) { return getUserAccountsFieldBuilder().addBuilder( index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.getDefaultInstance()); } /** *
       * List of users created by [FederationService.AddUserAccounts] request.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public java.util.List getUserAccountsBuilderList() { return getUserAccountsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder> getUserAccountsFieldBuilder() { if (userAccountsBuilder_ == null) { userAccountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder>( userAccounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userAccounts_ = null; } return userAccountsBuilder_; } @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:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.AddFederatedUserAccountsResponse) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AddFederatedUserAccountsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AddFederatedUserAccountsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.AddFederatedUserAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFederatedUserAccountsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation to list user accounts for.
     * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation to list user accounts for.
     * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size], the service returns a [ListFederatedUserAccountsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * Default value: 100.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederatedUserAccountsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederatedUserAccountsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [name_id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
     *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [name_id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
     *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest} */ public static final class ListFederatedUserAccountsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest) ListFederatedUserAccountsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListFederatedUserAccountsRequest.newBuilder() to construct. private ListFederatedUserAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFederatedUserAccountsRequest() { federationId_ = ""; pageToken_ = ""; filter_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFederatedUserAccountsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFederatedUserAccountsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation to list user accounts for.
     * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation to list user accounts for.
     * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size], the service returns a [ListFederatedUserAccountsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * Default value: 100.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederatedUserAccountsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederatedUserAccountsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [name_id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
     *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [name_id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
     *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getFilter() .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; pageSize_ = 0L; pageToken_ = ""; filter_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest(this); result.federationId_ = federationId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation to list user accounts for.
       * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation to list user accounts for.
       * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation to list user accounts for.
       * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation to list user accounts for.
       * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation to list user accounts for.
       * 
* * string federation_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size], the service returns a [ListFederatedUserAccountsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size], the service returns a [ListFederatedUserAccountsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size], the service returns a [ListFederatedUserAccountsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederatedUserAccountsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederatedUserAccountsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederatedUserAccountsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederatedUserAccountsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederatedUserAccountsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [name_id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
       *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [name_id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
       *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [name_id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
       *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [name_id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
       *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @return This builder for chaining. */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [name_id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression
       *   `[a-z0-9A-Z/@_.\-=+*\\]+`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1010"]; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFederatedUserAccountsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFederatedUserAccountsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFederatedUserAccountsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ java.util.List getUserAccountsList(); /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount getUserAccounts(int index); /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ int getUserAccountsCount(); /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ java.util.List getUserAccountsOrBuilderList(); /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder getUserAccountsOrBuilder( int index); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse} */ public static final class ListFederatedUserAccountsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse) ListFederatedUserAccountsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListFederatedUserAccountsResponse.newBuilder() to construct. private ListFederatedUserAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFederatedUserAccountsResponse() { userAccounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFederatedUserAccountsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFederatedUserAccountsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { userAccounts_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } userAccounts_.add( input.readMessage(yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userAccounts_ = java.util.Collections.unmodifiableList(userAccounts_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.Builder.class); } public static final int USER_ACCOUNTS_FIELD_NUMBER = 1; private java.util.List userAccounts_; /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public java.util.List getUserAccountsList() { return userAccounts_; } /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public java.util.List getUserAccountsOrBuilderList() { return userAccounts_; } /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public int getUserAccountsCount() { return userAccounts_.size(); } /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount getUserAccounts(int index) { return userAccounts_.get(index); } /** *
     * List of user accounts for the specified federation.
     * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ @java.lang.Override public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder getUserAccountsOrBuilder( int index) { return userAccounts_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 { for (int i = 0; i < userAccounts_.size(); i++) { output.writeMessage(1, userAccounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < userAccounts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, userAccounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse) obj; if (!getUserAccountsList() .equals(other.getUserAccountsList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getUserAccountsCount() > 0) { hash = (37 * hash) + USER_ACCOUNTS_FIELD_NUMBER; hash = (53 * hash) + getUserAccountsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserAccountsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userAccountsBuilder_ == null) { userAccounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { userAccountsBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse(this); int from_bitField0_ = bitField0_; if (userAccountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userAccounts_ = java.util.Collections.unmodifiableList(userAccounts_); bitField0_ = (bitField0_ & ~0x00000001); } result.userAccounts_ = userAccounts_; } else { result.userAccounts_ = userAccountsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse.getDefaultInstance()) return this; if (userAccountsBuilder_ == null) { if (!other.userAccounts_.isEmpty()) { if (userAccounts_.isEmpty()) { userAccounts_ = other.userAccounts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserAccountsIsMutable(); userAccounts_.addAll(other.userAccounts_); } onChanged(); } } else { if (!other.userAccounts_.isEmpty()) { if (userAccountsBuilder_.isEmpty()) { userAccountsBuilder_.dispose(); userAccountsBuilder_ = null; userAccounts_ = other.userAccounts_; bitField0_ = (bitField0_ & ~0x00000001); userAccountsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUserAccountsFieldBuilder() : null; } else { userAccountsBuilder_.addAllMessages(other.userAccounts_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List userAccounts_ = java.util.Collections.emptyList(); private void ensureUserAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { userAccounts_ = new java.util.ArrayList(userAccounts_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder> userAccountsBuilder_; /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public java.util.List getUserAccountsList() { if (userAccountsBuilder_ == null) { return java.util.Collections.unmodifiableList(userAccounts_); } else { return userAccountsBuilder_.getMessageList(); } } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public int getUserAccountsCount() { if (userAccountsBuilder_ == null) { return userAccounts_.size(); } else { return userAccountsBuilder_.getCount(); } } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount getUserAccounts(int index) { if (userAccountsBuilder_ == null) { return userAccounts_.get(index); } else { return userAccountsBuilder_.getMessage(index); } } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder setUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount value) { if (userAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserAccountsIsMutable(); userAccounts_.set(index, value); onChanged(); } else { userAccountsBuilder_.setMessage(index, value); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder setUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder builderForValue) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.set(index, builderForValue.build()); onChanged(); } else { userAccountsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts(yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount value) { if (userAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserAccountsIsMutable(); userAccounts_.add(value); onChanged(); } else { userAccountsBuilder_.addMessage(value); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount value) { if (userAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserAccountsIsMutable(); userAccounts_.add(index, value); onChanged(); } else { userAccountsBuilder_.addMessage(index, value); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts( yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder builderForValue) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.add(builderForValue.build()); onChanged(); } else { userAccountsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addUserAccounts( int index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder builderForValue) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.add(index, builderForValue.build()); onChanged(); } else { userAccountsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder addAllUserAccounts( java.lang.Iterable values) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userAccounts_); onChanged(); } else { userAccountsBuilder_.addAllMessages(values); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder clearUserAccounts() { if (userAccountsBuilder_ == null) { userAccounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { userAccountsBuilder_.clear(); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public Builder removeUserAccounts(int index) { if (userAccountsBuilder_ == null) { ensureUserAccountsIsMutable(); userAccounts_.remove(index); onChanged(); } else { userAccountsBuilder_.remove(index); } return this; } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder getUserAccountsBuilder( int index) { return getUserAccountsFieldBuilder().getBuilder(index); } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder getUserAccountsOrBuilder( int index) { if (userAccountsBuilder_ == null) { return userAccounts_.get(index); } else { return userAccountsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public java.util.List getUserAccountsOrBuilderList() { if (userAccountsBuilder_ != null) { return userAccountsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(userAccounts_); } } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder addUserAccountsBuilder() { return getUserAccountsFieldBuilder().addBuilder( yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.getDefaultInstance()); } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder addUserAccountsBuilder( int index) { return getUserAccountsFieldBuilder().addBuilder( index, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.getDefaultInstance()); } /** *
       * List of user accounts for the specified federation.
       * 
* * repeated .yandex.cloud.organizationmanager.v1.UserAccount user_accounts = 1; */ public java.util.List getUserAccountsBuilderList() { return getUserAccountsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder> getUserAccountsFieldBuilder() { if (userAccountsBuilder_ == null) { userAccountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccount.Builder, yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.UserAccountOrBuilder>( userAccounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userAccounts_ = null; } return userAccountsBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.ListFederatedUserAccountsResponse) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFederatedUserAccountsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFederatedUserAccountsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederatedUserAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFederationOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the federation to list operations for.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ java.lang.String getFederationId(); /** *
     * ID of the federation to list operations for.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ com.google.protobuf.ByteString getFederationIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size], the service returns a [ListFederationOperationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * Default value: 100.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationOperationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationOperationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest} */ public static final class ListFederationOperationsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest) ListFederationOperationsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListFederationOperationsRequest.newBuilder() to construct. private ListFederationOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFederationOperationsRequest() { federationId_ = ""; pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFederationOperationsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFederationOperationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); federationId_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.Builder.class); } public static final int FEDERATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object federationId_; /** *
     * ID of the federation to list operations for.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ @java.lang.Override public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } } /** *
     * ID of the federation to list operations for.
     * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ @java.lang.Override public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size], the service returns a [ListFederationOperationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * Default value: 100.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationOperationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set [page_token]
     * to the [ListFederationOperationsResponse.next_page_token]
     * returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, federationId_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, federationId_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest) obj; if (!getFederationId() .equals(other.getFederationId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FEDERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getFederationId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); federationId_ = ""; pageSize_ = 0L; pageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest(this); result.federationId_ = federationId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest.getDefaultInstance()) return this; if (!other.getFederationId().isEmpty()) { federationId_ = other.federationId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object federationId_ = ""; /** *
       * ID of the federation to list operations for.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The federationId. */ public java.lang.String getFederationId() { java.lang.Object ref = federationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); federationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the federation to list operations for.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for federationId. */ public com.google.protobuf.ByteString getFederationIdBytes() { java.lang.Object ref = federationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); federationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the federation to list operations for.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The federationId to set. * @return This builder for chaining. */ public Builder setFederationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } federationId_ = value; onChanged(); return this; } /** *
       * ID of the federation to list operations for.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFederationId() { federationId_ = getDefaultInstance().getFederationId(); onChanged(); return this; } /** *
       * ID of the federation to list operations for.
       * 
* * string federation_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for federationId to set. * @return This builder for chaining. */ public Builder setFederationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); federationId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size], the service returns a [ListFederationOperationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size], the service returns a [ListFederationOperationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than [page_size], the service returns a [ListFederationOperationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationOperationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationOperationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationOperationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationOperationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set [page_token]
       * to the [ListFederationOperationsResponse.next_page_token]
       * returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=2000"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsRequest) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFederationOperationsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFederationOperationsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFederationOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ java.util.List getOperationsList(); /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ yandex.cloud.api.operation.OperationOuterClass.Operation getOperations(int index); /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ int getOperationsCount(); /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ java.util.List getOperationsOrBuilderList(); /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder getOperationsOrBuilder( int index); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse} */ public static final class ListFederationOperationsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse) ListFederationOperationsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListFederationOperationsResponse.newBuilder() to construct. private ListFederationOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFederationOperationsResponse() { operations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFederationOperationsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFederationOperationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } operations_.add( input.readMessage(yandex.cloud.api.operation.OperationOuterClass.Operation.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.Builder.class); } public static final int OPERATIONS_FIELD_NUMBER = 1; private java.util.List operations_; /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public java.util.List getOperationsList() { return operations_; } /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public java.util.List getOperationsOrBuilderList() { return operations_; } /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public int getOperationsCount() { return operations_.size(); } /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public yandex.cloud.api.operation.OperationOuterClass.Operation getOperations(int index) { return operations_.get(index); } /** *
     * List of operations for the specified federation.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder getOperationsOrBuilder( int index) { return operations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
     * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
     * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < operations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse)) { return super.equals(obj); } yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse other = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse) obj; if (!getOperationsList() .equals(other.getOperationsList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getOperationsCount() > 0) { hash = (37 * hash) + OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getOperationsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse 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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse 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(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse 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; } /** * Protobuf type {@code yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse) yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.class, yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.Builder.class); } // Construct using yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOperationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { operationsBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse getDefaultInstanceForType() { return yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse build() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse buildPartial() { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse result = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse(this); int from_bitField0_ = bitField0_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); bitField0_ = (bitField0_ & ~0x00000001); } result.operations_ = operations_; } else { result.operations_ = operationsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @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 yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse) { return mergeFrom((yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse other) { if (other == yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse.getDefaultInstance()) return this; if (operationsBuilder_ == null) { if (!other.operations_.isEmpty()) { if (operations_.isEmpty()) { operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperationsIsMutable(); operations_.addAll(other.operations_); } onChanged(); } } else { if (!other.operations_.isEmpty()) { if (operationsBuilder_.isEmpty()) { operationsBuilder_.dispose(); operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); operationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List operations_ = java.util.Collections.emptyList(); private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.operation.OperationOuterClass.Operation, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder, yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder> operationsBuilder_; /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public java.util.List getOperationsList() { if (operationsBuilder_ == null) { return java.util.Collections.unmodifiableList(operations_); } else { return operationsBuilder_.getMessageList(); } } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public int getOperationsCount() { if (operationsBuilder_ == null) { return operations_.size(); } else { return operationsBuilder_.getCount(); } } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation getOperations(int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessage(index); } } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder setOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.set(index, value); onChanged(); } else { operationsBuilder_.setMessage(index, value); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder setOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.set(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations(yandex.cloud.api.operation.OperationOuterClass.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(value); onChanged(); } else { operationsBuilder_.addMessage(value); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(index, value); onChanged(); } else { operationsBuilder_.addMessage(index, value); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations( yandex.cloud.api.operation.OperationOuterClass.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder clearOperations() { if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { operationsBuilder_.clear(); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder removeOperations(int index) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.remove(index); onChanged(); } else { operationsBuilder_.remove(index); } return this; } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation.Builder getOperationsBuilder( int index) { return getOperationsFieldBuilder().getBuilder(index); } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder getOperationsOrBuilder( int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public java.util.List getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(operations_); } } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation.Builder addOperationsBuilder() { return getOperationsFieldBuilder().addBuilder( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()); } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation.Builder addOperationsBuilder( int index) { return getOperationsFieldBuilder().addBuilder( index, yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()); } /** *
       * List of operations for the specified federation.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public java.util.List getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.operation.OperationOuterClass.Operation, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder, yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.operation.OperationOuterClass.Operation, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder, yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder>( operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value
       * for the [ListFederationOperationsRequest.page_token] query parameter in the next list request.
       * Each subsequent list request will have its own [next_page_token] to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @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:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.saml.ListFederationOperationsResponse) private static final yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse(); } public static yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFederationOperationsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFederationOperationsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.organizationmanager.v1.saml.FederationServiceOuterClass.ListFederationOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\nAyandex/cloud/organizationmanager/v1/sa" + "ml/federation_service.proto\022(yandex.clou" + "d.organizationmanager.v1.saml\032\034google/ap" + "i/annotations.proto\032\036google/protobuf/dur" + "ation.proto\032 google/protobuf/field_mask." + "proto\032 yandex/cloud/api/operation.proto\032" + "6yandex/cloud/organizationmanager/v1/use" + "r_account.proto\0329yandex/cloud/organizati" + "onmanager/v1/saml/federation.proto\032&yand" + "ex/cloud/operation/operation.proto\032\035yand" + "ex/cloud/validation.proto\"7\n\024GetFederati" + "onRequest\022\037\n\rfederation_id\030\001 \001(\tB\010\212\3101\004<=" + "50\"\232\001\n\026ListFederationsRequest\022%\n\017organiz" + "ation_id\030\006 \001(\tB\014\350\3071\001\212\3101\004<=50\022\035\n\tpage_siz" + "e\030\003 \001(\003B\n\372\3071\0060-1000\022\036\n\npage_token\030\004 \001(\tB" + "\n\212\3101\006<=2000\022\032\n\006filter\030\005 \001(\tB\n\212\3101\006<=1000\"" + "}\n\027ListFederationsResponse\022I\n\013federation" + "s\030\001 \003(\01324.yandex.cloud.organizationmanag" + "er.v1.saml.Federation\022\027\n\017next_page_token" + "\030\002 \001(\t\"\326\005\n\027CreateFederationRequest\022!\n\017or" + "ganization_id\030\001 \001(\tB\010\212\3101\004<=50\0221\n\004name\030\002 " + "\001(\tB#\362\3071\037[a-z]([-a-z0-9]{0,61}[a-z0-9])?" + "\022\036\n\013description\030\003 \001(\tB\t\212\3101\005<=256\022>\n\016cook" + "ie_max_age\030\004 \001(\0132\031.google.protobuf.Durat" + "ionB\013\372\3071\00710m-12h\022$\n\034auto_create_account_" + "on_login\030\005 \001(\010\022\036\n\006issuer\030\006 \001(\tB\016\350\3071\001\212\3101\006" + "<=8000\022J\n\013sso_binding\030\007 \001(\01625.yandex.clo" + "ud.organizationmanager.v1.saml.BindingTy" + "pe\022\037\n\007sso_url\030\010 \001(\tB\016\350\3071\001\212\3101\006<=8000\022_\n\021s" + "ecurity_settings\030\t \001(\0132D.yandex.cloud.or" + "ganizationmanager.v1.saml.FederationSecu" + "ritySettings\022!\n\031case_insensitive_name_id" + "s\030\n \001(\010\022\236\001\n\006labels\030\013 \003(\0132M.yandex.cloud." + "organizationmanager.v1.saml.CreateFedera" + "tionRequest.LabelsEntryB?\202\3101\004<=64\212\3101\004<=6" + "3\362\3071\013[-_0-9a-z]*\262\3101\006\032\0041-63\262\3101\022\022\020[a-z][-_" + "0-9a-z]*\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\t:\0028\001\"1\n\030CreateFederationMetad" + "ata\022\025\n\rfederation_id\030\001 \001(\t\"\206\006\n\027UpdateFed" + "erationRequest\022\037\n\rfederation_id\030\001 \001(\tB\010\212" + "\3101\004<=50\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" + "otobuf.FieldMask\0222\n\004name\030\003 \001(\tB$\362\3071 |[a-" + "z]([-a-z0-9]{0,61}[a-z0-9])?\022\036\n\013descript" + "ion\030\004 \001(\tB\t\212\3101\005<=256\022>\n\016cookie_max_age\030\005" + " \001(\0132\031.google.protobuf.DurationB\013\372\3071\00710m" + "-12h\022$\n\034auto_create_account_on_login\030\006 \001" + "(\010\022\036\n\006issuer\030\007 \001(\tB\016\350\3071\001\212\3101\006<=8000\022J\n\013ss" + "o_binding\030\010 \001(\01625.yandex.cloud.organizat" + "ionmanager.v1.saml.BindingType\022\037\n\007sso_ur" + "l\030\t \001(\tB\016\350\3071\001\212\3101\006<=8000\022_\n\021security_sett" + "ings\030\n \001(\0132D.yandex.cloud.organizationma" + "nager.v1.saml.FederationSecuritySettings" + "\022!\n\031case_insensitive_name_ids\030\014 \001(\010\022\236\001\n\006" + "labels\030\r \003(\0132M.yandex.cloud.organization" + "manager.v1.saml.UpdateFederationRequest." + "LabelsEntryB?\202\3101\004<=64\212\3101\004<=63\362\3071\013[-_0-9a" + "-z]*\262\3101\006\032\0041-63\262\3101\022\022\020[a-z][-_0-9a-z]*\032-\n\013" + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + "\0028\001\"1\n\030UpdateFederationMetadata\022\025\n\rfeder" + "ation_id\030\001 \001(\t\":\n\027DeleteFederationReques" + "t\022\037\n\rfederation_id\030\001 \001(\tB\010\212\3101\004<=50\"1\n\030De" + "leteFederationMetadata\022\025\n\rfederation_id\030" + "\001 \001(\t\"`\n\037AddFederatedUserAccountsRequest" + "\022\037\n\rfederation_id\030\001 \001(\tB\010\212\3101\004<=50\022\034\n\010nam" + "e_ids\030\002 \003(\tB\n\212\3101\006<=1000\"9\n AddFederatedU" + "serAccountsMetadata\022\025\n\rfederation_id\030\001 \001" + "(\t\"k\n AddFederatedUserAccountsResponse\022G" + "\n\ruser_accounts\030\001 \003(\01320.yandex.cloud.org" + "anizationmanager.v1.UserAccount\"\242\001\n List" + "FederatedUserAccountsRequest\022#\n\rfederati" + "on_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022\035\n\tpage_size\030\002" + " \001(\003B\n\372\3071\0060-1000\022\036\n\npage_token\030\003 \001(\tB\n\212\310" + "1\006<=2000\022\032\n\006filter\030\004 \001(\tB\n\212\3101\006<=1010\"\205\001\n" + "!ListFederatedUserAccountsResponse\022G\n\rus" + "er_accounts\030\001 \003(\01320.yandex.cloud.organiz" + "ationmanager.v1.UserAccount\022\027\n\017next_page" + "_token\030\002 \001(\t\"\201\001\n\037ListFederationOperation" + "sRequest\022\037\n\rfederation_id\030\001 \001(\tB\010\212\3101\004<=5" + "0\022\035\n\tpage_size\030\002 \001(\003B\n\372\3071\0060-1000\022\036\n\npage" + "_token\030\003 \001(\tB\n\212\3101\006<=2000\"r\n ListFederati" + "onOperationsResponse\0225\n\noperations\030\001 \003(\013" + "2!.yandex.cloud.operation.Operation\022\027\n\017n" + "ext_page_token\030\002 \001(\t2\313\016\n\021FederationServi" + "ce\022\276\001\n\003Get\022>.yandex.cloud.organizationma" + "nager.v1.saml.GetFederationRequest\0324.yan" + "dex.cloud.organizationmanager.v1.saml.Fe" + "deration\"A\202\323\344\223\002;\0229/organization-manager/" + "v1/saml/federations/{federation_id}\022\276\001\n\004" + "List\[email protected]." + "v1.saml.ListFederationsRequest\032A.yandex." + "cloud.organizationmanager.v1.saml.ListFe" + "derationsResponse\"1\202\323\344\223\002+\022)/organization" + "-manager/v1/saml/federations\022\316\001\n\006Create\022" + "A.yandex.cloud.organizationmanager.v1.sa" + "ml.CreateFederationRequest\032!.yandex.clou" + "d.operation.Operation\"^\202\323\344\223\002.\")/organiza" + "tion-manager/v1/saml/federations:\001*\262\322*&\n" + "\030CreateFederationMetadata\022\nFederation\022\336\001" + "\n\006Update\022A.yandex.cloud.organizationmana" + "ger.v1.saml.UpdateFederationRequest\032!.ya" + "ndex.cloud.operation.Operation\"n\202\323\344\223\002>29" + "/organization-manager/v1/saml/federation" + "s/{federation_id}:\001*\262\322*&\n\030UpdateFederati" + "onMetadata\022\nFederation\022\346\001\n\006Delete\022A.yand" + "ex.cloud.organizationmanager.v1.saml.Del" + "eteFederationRequest\032!.yandex.cloud.oper" + "ation.Operation\"v\202\323\344\223\002;*9/organization-m" + "anager/v1/saml/federations/{federation_i" + "d}\262\322*1\n\030DeleteFederationMetadata\022\025google" + ".protobuf.Empty\022\236\002\n\017AddUserAccounts\022I.ya" + "ndex.cloud.organizationmanager.v1.saml.A" + "ddFederatedUserAccountsRequest\032!.yandex." + "cloud.operation.Operation\"\234\001\202\323\344\223\002N\"I/org" + "anization-manager/v1/saml/federations/{f" + "ederation_id}:addUserAccounts:\001*\262\322*D\n Ad" + "dFederatedUserAccountsMetadata\022 AddFeder" + "atedUserAccountsResponse\022\377\001\n\020ListUserAcc" + "ounts\022J.yandex.cloud.organizationmanager" + ".v1.saml.ListFederatedUserAccountsReques" + "t\032K.yandex.cloud.organizationmanager.v1." + "saml.ListFederatedUserAccountsResponse\"R" + "\202\323\344\223\002L\022J/organization-manager/v1/saml/fe" + "derations/{federation_id}:listUserAccoun" + "ts\022\365\001\n\016ListOperations\022I.yandex.cloud.org" + "anizationmanager.v1.saml.ListFederationO" + "perationsRequest\032J.yandex.cloud.organiza" + "tionmanager.v1.saml.ListFederationOperat" + "ionsResponse\"L\202\323\344\223\002F\022D/organization-mana" + "ger/v1/saml/federations/{federation_id}/" + "operationsB\201\001\n,yandex.cloud.api.organiza" + "tionmanager.v1.samlZQgithub.com/yandex-c" + "loud/go-genproto/yandex/cloud/organizati" + "onmanager/v1/saml;samlb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), yandex.cloud.api.OperationOuterClass.getDescriptor(), yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.getDescriptor(), yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.getDescriptor(), yandex.cloud.api.operation.OperationOuterClass.getDescriptor(), yandex.cloud.api.Validation.getDescriptor(), }); internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_GetFederationRequest_descriptor, new java.lang.String[] { "FederationId", }); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsRequest_descriptor, new java.lang.String[] { "OrganizationId", "PageSize", "PageToken", "Filter", }); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationsResponse_descriptor, new java.lang.String[] { "Federations", "NextPageToken", }); internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor, new java.lang.String[] { "OrganizationId", "Name", "Description", "CookieMaxAge", "AutoCreateAccountOnLogin", "Issuer", "SsoBinding", "SsoUrl", "SecuritySettings", "CaseInsensitiveNameIds", "Labels", }); internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_LabelsEntry_descriptor = internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_CreateFederationMetadata_descriptor, new java.lang.String[] { "FederationId", }); internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor, new java.lang.String[] { "FederationId", "UpdateMask", "Name", "Description", "CookieMaxAge", "AutoCreateAccountOnLogin", "Issuer", "SsoBinding", "SsoUrl", "SecuritySettings", "CaseInsensitiveNameIds", "Labels", }); internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_LabelsEntry_descriptor = internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_UpdateFederationMetadata_descriptor, new java.lang.String[] { "FederationId", }); internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationRequest_descriptor, new java.lang.String[] { "FederationId", }); internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_DeleteFederationMetadata_descriptor, new java.lang.String[] { "FederationId", }); internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsRequest_descriptor, new java.lang.String[] { "FederationId", "NameIds", }); internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsMetadata_descriptor, new java.lang.String[] { "FederationId", }); internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_AddFederatedUserAccountsResponse_descriptor, new java.lang.String[] { "UserAccounts", }); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsRequest_descriptor, new java.lang.String[] { "FederationId", "PageSize", "PageToken", "Filter", }); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederatedUserAccountsResponse_descriptor, new java.lang.String[] { "UserAccounts", "NextPageToken", }); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsRequest_descriptor, new java.lang.String[] { "FederationId", "PageSize", "PageToken", }); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_organizationmanager_v1_saml_ListFederationOperationsResponse_descriptor, new java.lang.String[] { "Operations", "NextPageToken", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); registry.add(yandex.cloud.api.OperationOuterClass.operation); registry.add(yandex.cloud.api.Validation.length); registry.add(yandex.cloud.api.Validation.mapKey); registry.add(yandex.cloud.api.Validation.pattern); registry.add(yandex.cloud.api.Validation.required); registry.add(yandex.cloud.api.Validation.size); registry.add(yandex.cloud.api.Validation.value); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); yandex.cloud.api.OperationOuterClass.getDescriptor(); yandex.cloud.api.organizationmanager.v1.UserAccountOuterClass.getDescriptor(); yandex.cloud.api.organizationmanager.v1.saml.FederationOuterClass.getDescriptor(); yandex.cloud.api.operation.OperationOuterClass.getDescriptor(); yandex.cloud.api.Validation.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy