Class UserGroupSpec.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UserGroupSpecOrBuilder, java.lang.Cloneable
    Enclosing class:
    UserGroupSpec

    public static final class UserGroupSpec.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
    implements UserGroupSpecOrBuilder
    Protobuf type temporal.api.cloud.identity.v1.UserGroupSpec
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • clear

        public UserGroupSpec.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • getDefaultInstanceForType

        public UserGroupSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UserGroupSpec build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UserGroupSpec buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UserGroupSpec.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • setField

        public UserGroupSpec.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • clearField

        public UserGroupSpec.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • clearOneof

        public UserGroupSpec.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • setRepeatedField

        public UserGroupSpec.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • addRepeatedField

        public UserGroupSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • mergeFrom

        public UserGroupSpec.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserGroupSpec.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • mergeFrom

        public UserGroupSpec.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserGroupSpec.Builder>
        Throws:
        java.io.IOException
      • getDisplayName

        public java.lang.String getDisplayName()
         The display name of the group.
         
        string display_name = 1;
        Specified by:
        getDisplayName in interface UserGroupSpecOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the group.
         
        string display_name = 1;
        Specified by:
        getDisplayNameBytes in interface UserGroupSpecOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public UserGroupSpec.Builder setDisplayName​(java.lang.String value)
         The display name of the group.
         
        string display_name = 1;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public UserGroupSpec.Builder clearDisplayName()
         The display name of the group.
         
        string display_name = 1;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public UserGroupSpec.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The display name of the group.
         
        string display_name = 1;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • hasAccess

        public boolean hasAccess()
         The access assigned to the group.
         
        .temporal.api.cloud.identity.v1.Access access = 2;
        Specified by:
        hasAccess in interface UserGroupSpecOrBuilder
        Returns:
        Whether the access field is set.
      • getAccess

        public Access getAccess()
         The access assigned to the group.
         
        .temporal.api.cloud.identity.v1.Access access = 2;
        Specified by:
        getAccess in interface UserGroupSpecOrBuilder
        Returns:
        The access.
      • setAccess

        public UserGroupSpec.Builder setAccess​(Access value)
         The access assigned to the group.
         
        .temporal.api.cloud.identity.v1.Access access = 2;
      • mergeAccess

        public UserGroupSpec.Builder mergeAccess​(Access value)
         The access assigned to the group.
         
        .temporal.api.cloud.identity.v1.Access access = 2;
      • clearAccess

        public UserGroupSpec.Builder clearAccess()
         The access assigned to the group.
         
        .temporal.api.cloud.identity.v1.Access access = 2;
      • getAccessBuilder

        public Access.Builder getAccessBuilder()
         The access assigned to the group.
         
        .temporal.api.cloud.identity.v1.Access access = 2;
      • hasGoogleGroup

        public boolean hasGoogleGroup()
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
        Specified by:
        hasGoogleGroup in interface UserGroupSpecOrBuilder
        Returns:
        Whether the googleGroup field is set.
      • getGoogleGroup

        public GoogleGroupSpec getGoogleGroup()
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
        Specified by:
        getGoogleGroup in interface UserGroupSpecOrBuilder
        Returns:
        The googleGroup.
      • setGoogleGroup

        public UserGroupSpec.Builder setGoogleGroup​(GoogleGroupSpec value)
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
      • setGoogleGroup

        public UserGroupSpec.Builder setGoogleGroup​(GoogleGroupSpec.Builder builderForValue)
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
      • mergeGoogleGroup

        public UserGroupSpec.Builder mergeGoogleGroup​(GoogleGroupSpec value)
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
      • clearGoogleGroup

        public UserGroupSpec.Builder clearGoogleGroup()
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
      • getGoogleGroupBuilder

        public GoogleGroupSpec.Builder getGoogleGroupBuilder()
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
      • getGoogleGroupOrBuilder

        public GoogleGroupSpecOrBuilder getGoogleGroupOrBuilder()
         The specification of the google group that this group is associated with.
         For now only google groups are supported, and this field is required.
         
        .temporal.api.cloud.identity.v1.GoogleGroupSpec google_group = 3;
        Specified by:
        getGoogleGroupOrBuilder in interface UserGroupSpecOrBuilder
      • setUnknownFields

        public final UserGroupSpec.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>
      • mergeUnknownFields

        public final UserGroupSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserGroupSpec.Builder>