Class RouterMd5AuthenticationKey.Builder

    • 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<RouterMd5AuthenticationKey.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<RouterMd5AuthenticationKey.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public RouterMd5AuthenticationKey.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<RouterMd5AuthenticationKey.Builder>
        Throws:
        IOException
      • hasKey

        public boolean hasKey()
         [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
         
        optional string key = 106079;
        Specified by:
        hasKey in interface RouterMd5AuthenticationKeyOrBuilder
        Returns:
        Whether the key field is set.
      • getKey

        public String getKey()
         [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
         
        optional string key = 106079;
        Specified by:
        getKey in interface RouterMd5AuthenticationKeyOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
         
        optional string key = 106079;
        Specified by:
        getKeyBytes in interface RouterMd5AuthenticationKeyOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public RouterMd5AuthenticationKey.Builder setKey​(String value)
         [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
         
        optional string key = 106079;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public RouterMd5AuthenticationKey.Builder clearKey()
         [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
         
        optional string key = 106079;
        Returns:
        This builder for chaining.
      • setKeyBytes

        public RouterMd5AuthenticationKey.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.
         
        optional string key = 106079;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface RouterMd5AuthenticationKeyOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
         
        optional string name = 3373707;
        Specified by:
        getName in interface RouterMd5AuthenticationKeyOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface RouterMd5AuthenticationKeyOrBuilder
        Returns:
        The bytes for name.
      • setName

        public RouterMd5AuthenticationKey.Builder setName​(String value)
         Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public RouterMd5AuthenticationKey.Builder clearName()
         Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
         
        optional string name = 3373707;
        Returns:
        This builder for chaining.
      • setNameBytes

        public RouterMd5AuthenticationKey.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RouterMd5AuthenticationKey.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<RouterMd5AuthenticationKey.Builder>
      • mergeUnknownFields

        public final RouterMd5AuthenticationKey.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<RouterMd5AuthenticationKey.Builder>