Class SpaceConfig.ModerationRestrictions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SpaceConfig.ModerationRestrictions.Builder>
com.google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.Builder
All Implemented Interfaces:
SpaceConfig.ModerationRestrictionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SpaceConfig.ModerationRestrictions

public static final class SpaceConfig.ModerationRestrictions.Builder extends com.google.protobuf.GeneratedMessage.Builder<SpaceConfig.ModerationRestrictions.Builder> implements SpaceConfig.ModerationRestrictionsOrBuilder
 Defines restrictions for features when the meeting is moderated.
 
Protobuf type google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SpaceConfig.ModerationRestrictions.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.GeneratedMessage.Builder<SpaceConfig.ModerationRestrictions.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.GeneratedMessage.Builder<SpaceConfig.ModerationRestrictions.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SpaceConfig.ModerationRestrictions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SpaceConfig.ModerationRestrictions.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<SpaceConfig.ModerationRestrictions.Builder>
    • mergeFrom

    • isInitialized

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

      public SpaceConfig.ModerationRestrictions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<SpaceConfig.ModerationRestrictions.Builder>
      Throws:
      IOException
    • getChatRestrictionValue

      public int getChatRestrictionValue()
       Defines who has permission to send chat messages in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType chat_restriction = 1;
      Specified by:
      getChatRestrictionValue in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The enum numeric value on the wire for chatRestriction.
    • setChatRestrictionValue

      public SpaceConfig.ModerationRestrictions.Builder setChatRestrictionValue(int value)
       Defines who has permission to send chat messages in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType chat_restriction = 1;
      Parameters:
      value - The enum numeric value on the wire for chatRestriction to set.
      Returns:
      This builder for chaining.
    • getChatRestriction

       Defines who has permission to send chat messages in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType chat_restriction = 1;
      Specified by:
      getChatRestriction in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The chatRestriction.
    • setChatRestriction

       Defines who has permission to send chat messages in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType chat_restriction = 1;
      Parameters:
      value - The chatRestriction to set.
      Returns:
      This builder for chaining.
    • clearChatRestriction

      public SpaceConfig.ModerationRestrictions.Builder clearChatRestriction()
       Defines who has permission to send chat messages in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType chat_restriction = 1;
      Returns:
      This builder for chaining.
    • getReactionRestrictionValue

      public int getReactionRestrictionValue()
       Defines who has permission to send reactions in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType reaction_restriction = 2;
      Specified by:
      getReactionRestrictionValue in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The enum numeric value on the wire for reactionRestriction.
    • setReactionRestrictionValue

      public SpaceConfig.ModerationRestrictions.Builder setReactionRestrictionValue(int value)
       Defines who has permission to send reactions in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType reaction_restriction = 2;
      Parameters:
      value - The enum numeric value on the wire for reactionRestriction to set.
      Returns:
      This builder for chaining.
    • getReactionRestriction

      public SpaceConfig.ModerationRestrictions.RestrictionType getReactionRestriction()
       Defines who has permission to send reactions in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType reaction_restriction = 2;
      Specified by:
      getReactionRestriction in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The reactionRestriction.
    • setReactionRestriction

       Defines who has permission to send reactions in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType reaction_restriction = 2;
      Parameters:
      value - The reactionRestriction to set.
      Returns:
      This builder for chaining.
    • clearReactionRestriction

      public SpaceConfig.ModerationRestrictions.Builder clearReactionRestriction()
       Defines who has permission to send reactions in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType reaction_restriction = 2;
      Returns:
      This builder for chaining.
    • getPresentRestrictionValue

      public int getPresentRestrictionValue()
       Defines who has permission to share their screen in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType present_restriction = 3;
      Specified by:
      getPresentRestrictionValue in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The enum numeric value on the wire for presentRestriction.
    • setPresentRestrictionValue

      public SpaceConfig.ModerationRestrictions.Builder setPresentRestrictionValue(int value)
       Defines who has permission to share their screen in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType present_restriction = 3;
      Parameters:
      value - The enum numeric value on the wire for presentRestriction to set.
      Returns:
      This builder for chaining.
    • getPresentRestriction

       Defines who has permission to share their screen in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType present_restriction = 3;
      Specified by:
      getPresentRestriction in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The presentRestriction.
    • setPresentRestriction

       Defines who has permission to share their screen in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType present_restriction = 3;
      Parameters:
      value - The presentRestriction to set.
      Returns:
      This builder for chaining.
    • clearPresentRestriction

      public SpaceConfig.ModerationRestrictions.Builder clearPresentRestriction()
       Defines who has permission to share their screen in the meeting space.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.RestrictionType present_restriction = 3;
      Returns:
      This builder for chaining.
    • getDefaultJoinAsViewerTypeValue

      public int getDefaultJoinAsViewerTypeValue()
       Defines whether to restrict the default role assigned to users as viewer.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.DefaultJoinAsViewerType default_join_as_viewer_type = 4;
      Specified by:
      getDefaultJoinAsViewerTypeValue in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The enum numeric value on the wire for defaultJoinAsViewerType.
    • setDefaultJoinAsViewerTypeValue

      public SpaceConfig.ModerationRestrictions.Builder setDefaultJoinAsViewerTypeValue(int value)
       Defines whether to restrict the default role assigned to users as viewer.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.DefaultJoinAsViewerType default_join_as_viewer_type = 4;
      Parameters:
      value - The enum numeric value on the wire for defaultJoinAsViewerType to set.
      Returns:
      This builder for chaining.
    • getDefaultJoinAsViewerType

       Defines whether to restrict the default role assigned to users as viewer.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.DefaultJoinAsViewerType default_join_as_viewer_type = 4;
      Specified by:
      getDefaultJoinAsViewerType in interface SpaceConfig.ModerationRestrictionsOrBuilder
      Returns:
      The defaultJoinAsViewerType.
    • setDefaultJoinAsViewerType

       Defines whether to restrict the default role assigned to users as viewer.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.DefaultJoinAsViewerType default_join_as_viewer_type = 4;
      Parameters:
      value - The defaultJoinAsViewerType to set.
      Returns:
      This builder for chaining.
    • clearDefaultJoinAsViewerType

      public SpaceConfig.ModerationRestrictions.Builder clearDefaultJoinAsViewerType()
       Defines whether to restrict the default role assigned to users as viewer.
       
      .google.apps.meet.v2beta.SpaceConfig.ModerationRestrictions.DefaultJoinAsViewerType default_join_as_viewer_type = 4;
      Returns:
      This builder for chaining.