Class Type.MapType.Builder

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

    public static final class Type.MapType.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
    implements Type.MapTypeOrBuilder
     Map type with parameterized key and value types, e.g. `map<string, int>`.
     
    Protobuf type google.api.expr.v1alpha1.Type.MapType
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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<Type.MapType.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public Type.MapType.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<Type.MapType.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<Type.MapType.Builder>
      • getDefaultInstanceForType

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

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

        public Type.MapType buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • buildPartial0

        private void buildPartial0​(Type.MapType result)
      • mergeFrom

        public Type.MapType.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<Type.MapType.Builder>
      • isInitialized

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

        public Type.MapType.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<Type.MapType.Builder>
        Throws:
        java.io.IOException
      • hasKeyType

        public boolean hasKeyType()
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
        Specified by:
        hasKeyType in interface Type.MapTypeOrBuilder
        Returns:
        Whether the keyType field is set.
      • getKeyType

        public Type getKeyType()
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
        Specified by:
        getKeyType in interface Type.MapTypeOrBuilder
        Returns:
        The keyType.
      • setKeyType

        public Type.MapType.Builder setKeyType​(Type value)
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
      • mergeKeyType

        public Type.MapType.Builder mergeKeyType​(Type value)
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
      • clearKeyType

        public Type.MapType.Builder clearKeyType()
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
      • getKeyTypeBuilder

        public Type.Builder getKeyTypeBuilder()
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
      • getKeyTypeFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<Type,​Type.Builder,​TypeOrBuilder> getKeyTypeFieldBuilder()
         The type of the key.
         
        .google.api.expr.v1alpha1.Type key_type = 1;
      • hasValueType

        public boolean hasValueType()
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
        Specified by:
        hasValueType in interface Type.MapTypeOrBuilder
        Returns:
        Whether the valueType field is set.
      • getValueType

        public Type getValueType()
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
        Specified by:
        getValueType in interface Type.MapTypeOrBuilder
        Returns:
        The valueType.
      • setValueType

        public Type.MapType.Builder setValueType​(Type value)
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
      • setValueType

        public Type.MapType.Builder setValueType​(Type.Builder builderForValue)
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
      • mergeValueType

        public Type.MapType.Builder mergeValueType​(Type value)
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
      • clearValueType

        public Type.MapType.Builder clearValueType()
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
      • getValueTypeBuilder

        public Type.Builder getValueTypeBuilder()
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;
      • getValueTypeFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<Type,​Type.Builder,​TypeOrBuilder> getValueTypeFieldBuilder()
         The type of the value.
         
        .google.api.expr.v1alpha1.Type value_type = 2;