Class Resource.ResourceAnnotation.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<Resource.ResourceAnnotation.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<Resource.ResourceAnnotation.Builder>
      • getDefaultInstanceForType

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

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

        public Resource.ResourceAnnotation 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<Resource.ResourceAnnotation.Builder>
      • mergeFrom

        public Resource.ResourceAnnotation.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<Resource.ResourceAnnotation.Builder>
        Throws:
        IOException
      • getType

        public String getType()
         Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
         type.
         
        string type = 1;
        Specified by:
        getType in interface Resource.ResourceAnnotationOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
         type.
         
        string type = 1;
        Specified by:
        getTypeBytes in interface Resource.ResourceAnnotationOrBuilder
        Returns:
        The bytes for type.
      • setType

        public Resource.ResourceAnnotation.Builder setType​(String value)
         Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
         type.
         
        string type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Resource.ResourceAnnotation.Builder clearType()
         Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
         type.
         
        string type = 1;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public Resource.ResourceAnnotation.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
         type.
         
        string type = 1;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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